/*
Theme Name: Starter Theme
Theme URI: https://example.com/starter-theme
Author: Your Name
Author URI: https://example.com
Description: Un thème WordPress simple et moderne pour démarrer vos projets.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: starter-theme
Tags: simple, modern, starter, clean, responsive
*/

/*
 * Accessibilité WCAG 2.1 AA + lisibilité seniors
 * - Taille de base 18px (recommandation seniors)
 * - Contraste texte ≥ 4.5:1 (texte normal), ≥ 3:1 (texte grand)
 * - Line-height ≥ 1.5 pour le corps de texte
 */

/* ========== Preloader minimal moderne ========== */
.preloader {
    position: fixed;
    inset: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.preloader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

html.preloader-skip .preloader {
    display: none;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 90%;
    max-width: 400px;
}

.preloader-logo-wrap {
    animation: preloaderFadeIn 0.5s ease-out forwards;
}

.preloader-logo {
    display: block;
    height: 180px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.preloader-title-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
}

.preloader-title {
    font-family: 'Outfit', -apple-system, sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #121F59;
    text-transform: uppercase;
    margin: 0 0 1.5rem 0;
    opacity: 0;
    animation: preloaderTitleIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards;
}

.preloader-bar-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
}

.preloader-bar {
    position: relative;
    height: 2px;
    width: 100%;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 2px;
}

.preloader-bar-fill {
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: 22%;
    transform: translateX(-50%);
    background: #2729AA;
    border-radius: 2px;
    animation: preloaderBarExpand var(--preloader-bar-duration, 3.2s) cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes preloaderFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes preloaderTitleIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes preloaderBarExpand {
    0% {
        width: 22%;
        transform: translateX(-50%);
    }
    100% {
        width: 100%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .preloader-logo {
        height: 140px;
    }
}

/* Mobile : hero visible dès le départ pour un LCP correct (éviter NO_LCP) */
@media (max-width: 768px) {
    .hero-title,
    .hero-description,
    .hero-cta-row .btn-contact {
        animation: none !important;
        opacity: 1 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .preloader-logo-wrap,
    .preloader-title {
        animation: none;
    }
    .preloader-title {
        opacity: 1;
    }
    .outils-anydesk-card {
        animation: none;
        opacity: 1;
    }
    .outils-anydesk-icon {
        animation: none;
    }
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Skip link accessibilité (lien "Aller au contenu") */
.skip-link.screen-reader-text {
    position: absolute;
    top: -100px;
    left: 0;
    padding: 0.75rem 1.25rem;
    background: #2729AA;
    color: #fff;
    font-weight: 600;
    z-index: 100000;
    text-decoration: none;
}

.skip-link.screen-reader-text:focus {
    top: 0;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* Base 18px pour clients seniors (WCAG + bonnes pratiques) */
html {
    font-size: 18px;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    color: #121F59;
    background-color: #fff;
}

p {
    margin-left: 100px;
    width: 650px;
    text-align: center;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: linear-gradient(180deg, #121F59 0%, #252525 100%);
    padding: 0.6rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
    backdrop-filter: blur(12px);
    transition: box-shadow 0.3s ease;
    animation: headerSlideDown 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #2729AA, #7260D7, #2729AA);
    background-size: 200% 100%;
    animation: headerShimmer 4s ease-in-out infinite;
}

.site-header:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

@keyframes headerSlideDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes headerShimmer {
    0%, 100% { background-position: 100% 0; }
    50% { background-position: 0 0; }
}

.site-header .container {
    max-width: none;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Bouton menu mobile (masqué sur desktop) */
.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.menu-toggle:hover,
.menu-toggle:focus {
    background-color: rgba(25, 115, 66, 0.3);
    border-color: #2729AA;
    color: #fff;
    transform: scale(1.05);
}

.menu-toggle-icon {
    display: block;
    width: 22px;
    height: 16px;
    position: relative;
    box-shadow: 0 6.5px 0 currentColor;
    border-radius: 2px;
    transition: box-shadow 0.2s ease;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: currentColor;
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.menu-toggle-icon::before {
    top: 0;
}

.menu-toggle-icon::after {
    bottom: 0;
}

.site-header.menu-open .menu-toggle .menu-toggle-icon {
    box-shadow: none;
}

.site-header.menu-open .menu-toggle .menu-toggle-icon::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.site-header.menu-open .menu-toggle .menu-toggle-icon::after {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Wrapper nav + search (desktop : ligne ; mobile : bloc repliable) */
.header-nav-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
}

.site-branding {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.site-branding .site-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.site-branding .site-title a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.site-branding .site-title a:hover {
    transform: translateY(-3px);
}


.site-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateX(-8px);
    transition: max-width 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.4s ease, transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.site-header .site-branding .site-title a:hover .site-name {
    max-width: 280px;
    opacity: 1;
    color: #fff;
    transform: translateX(0);
}

.header-search {
    flex: 0 0 auto;
    width: 340px;
    max-width: 100%;
}

/* Desktop : search dans la nav (pas entre logo et burger) */
.header-search--mobile {
    display: none;
}

@media (min-width: 769px) {
    .header-search--desktop {
        display: block;
    }
}

/* Search form : règle blocs — formulaire et champ en bloc, pas de débordement */
.header-search form,
.header-search .search-form {
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-wrap: nowrap;
}

.header-search form input,
.header-search .search-form input,
.header-search .search-field {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    box-sizing: border-box;
}

.main-navigation {
    flex-shrink: 0;
    margin-right: 24px;
}

.main-navigation {
    margin-right: 24px;
}

.header-search input[type="search"],
.header-search .search-field {
    width: 100%;
    max-width: 100%;
    padding: 0.55rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 0.95rem;
    color: #fff;
    outline: none;
    transition: all 0.25s ease;
    background-color: rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
}

.header-search input[type="search"]::placeholder,
.header-search .search-field::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.header-search input[type="search"]:focus,
.header-search .search-field:focus {
    border-color: #2729AA;
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(25, 115, 66, 0.25);
}

.header-search input[type="submit"],
.header-search button[type="submit"],
.header-search .search-submit {
    display: none;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.site-title a {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.site-title a:hover {
    opacity: 0.8;
}

.site-header .site-branding .site-title a:hover {
    opacity: 1;
}

.site-logo {
    height: 50px;
    width: auto;
    display: block;
    margin: 0;
    flex-shrink: 0;
    transition: filter 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.site-header .site-logo {
    filter: brightness(0) invert(1);
}

.site-header .site-branding .site-title a:hover .site-logo {
    filter: brightness(0) invert(1);
}

.site-description {
    font-size: 1rem;
    color: #404040;
    margin: 0.25rem 0 0 0;
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
}

.main-navigation li {
    animation: navItemFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.main-navigation li:nth-child(1) { animation-delay: 0.1s; }
.main-navigation li:nth-child(2) { animation-delay: 0.2s; }
.main-navigation li:nth-child(3) { animation-delay: 0.3s; }
.main-navigation li:nth-child(4) { animation-delay: 0.35s; }
.main-navigation li:nth-child(5) { animation-delay: 0.4s; }

@keyframes navItemFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-navigation a {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.main-navigation a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.main-navigation a:hover,
.main-navigation a:focus {
    color: #fff;
    background-color: #2729AA;
    border-color: #2729AA;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(25, 115, 66, 0.35);
}

.main-navigation a:hover::before,
.main-navigation a:focus::before {
    left: 100%;
}

/* Main Content */
.site-main {
    padding: 0;
    min-height: calc(100vh - 200px);
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
    background-color: #fff;
}

.content-section:nth-child(even) {
    background-color: #f0f0f0;
}

/* Section Qui suis-je sur la landing : fond noir, texte blanc */
#qui-sommes-nous {
    background-color: #121F59;
}

#qui-sommes-nous .section-title {
    color: #fff !important;
}

#qui-sommes-nous .section-content {
    color: #fff !important;
}

#qui-sommes-nous .section-content p {
    color: #fff !important;
    margin-left: 0;
    width: auto;
    max-width: 700px;
}

/* ========== Page Qui suis-je ? (direction artistique inspirée, colorimétrie INFORMATH) ========== */
.page-qui-suis-je .section-title {
    text-align: center;
    margin-bottom: 2rem;
}

/* Section Présentation humaine : bande foncée, split texte (blanc) / image */
.presentation-humaine-wrapper {
    background: linear-gradient(135deg, #121F59 0%, #2d2d2d 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.presentation-humaine-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(25, 115, 66, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.presentation-humaine-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.presentation-humaine-inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.presentation-humaine-text {
    background-color: #fff;
    padding: 2.5rem 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: slideInFromLeft 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    border: 1px solid rgba(25, 115, 66, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.presentation-humaine-text:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(25, 115, 66, 0.15);
}

.presentation-humaine-text .presentation-badge {
    animation: fadeInUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

.presentation-humaine-text .presentation-title {
    animation: fadeInUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.presentation-humaine-text p {
    animation: fadeInUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.presentation-humaine-text p:nth-of-type(1) { animation-delay: 0.35s; }
.presentation-humaine-text p:nth-of-type(2) { animation-delay: 0.45s; }

.presentation-humaine-text .presentation-cta {
    animation: fadeInUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.55s both;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.presentation-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #2729AA, #7260D7);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(25, 115, 66, 0.3);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.presentation-humaine-text:hover .presentation-badge {
    transform: translateY(-2px) scale(1.05);
}

.presentation-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #121F59;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    position: relative;
}

.presentation-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2729AA, #7260D7);
    border-radius: 2px;
}

.presentation-humaine-text p {
    color: #404040;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    margin-top: 1.75rem;
}

.presentation-humaine-text p:first-of-type {
    margin-top: 1.75rem;
}

.presentation-humaine-text p strong {
    color: #2729AA;
    font-weight: 700;
}

.presentation-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    margin-top: 1rem;
}

.presentation-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #2729AA;
    color: #fff;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.presentation-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.5s ease;
}

.presentation-cta-btn:hover,
.presentation-cta-btn:focus {
    background: linear-gradient(135deg, #2729AA, #1e9d54);
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(25, 115, 66, 0.5);
}

.presentation-cta-btn:hover::before,
.presentation-cta-btn:focus::before {
    left: 100%;
}

.cta-arrow {
    color: #fff;
    font-size: 1.2em;
}

/* Mes engagements : 3 colonnes, cartes avec accent vert */
.qui-suis-je-section.mes-engagements {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.mes-engagements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.engagement-item {
    background-color: #fff;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.engagement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2729AA, #7260D7);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.engagement-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(25, 115, 66, 0.1);
}

.engagement-item:hover::before {
    transform: scaleX(1);
}

.engagement-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2729AA 0%, #7260D7 100%);
    border-radius: 12px;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgba(18, 31, 89, 0.25);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.engagement-item:hover .engagement-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(25, 115, 66, 0.35);
}

.engagement-icon-img {
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.engagement-icon--simple {
    background-color: transparent;
}

.engagement-icon--simple .engagement-icon-img {
    filter: brightness(0) invert(1);
}

.engagement-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #121F59;
    margin: 0 0 0.75rem 0;
    text-align: left;
}

.engagement-item p {
    color: #404040;
    font-size: 1rem;
    line-height: 1.65;
    margin: 0 0 0.5rem 0;
    margin-left: 0;
    width: auto;
    max-width: 100%;
    text-align: left;
}

.engagement-item p:last-child {
    margin-bottom: 0;
}

/* Parcours type : alternance texte / image - style moderne */
.qui-suis-je-section.parcours-type {
    padding: 4rem 0;
    background: linear-gradient(180deg, #f5f5f5 0%, #f0f0f0 50%, #ebebeb 100%);
}

.parcours-type .section-title {
    margin-bottom: 3rem;
}

.parcours-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    border-left: 4px solid #2729AA;
    opacity: 0;
    animation: parcoursStepIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.parcours-step-1 { animation-delay: 0.1s; }
.parcours-step-2 { animation-delay: 0.4s; }
.parcours-step-3 { animation-delay: 0.7s; }

.parcours-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(25, 115, 66, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
    border-left-width: 6px;
}

.parcours-step:hover .parcours-text h3 {
    color: #2729AA;
}

.parcours-step:hover .parcours-number {
    background: linear-gradient(135deg, #2729AA, #2d9d5f);
    transform: scale(1.05);
}

.parcours-step:last-child {
    margin-bottom: 0;
}

.parcours-step-2 .parcours-media-first {
    order: -1;
}

.parcours-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #2729AA;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes parcoursStepIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.parcours-text h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #2729AA;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.parcours-text p {
    color: #404040;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.parcours-media {
    min-height: 220px;
    background: linear-gradient(135deg, #e8e8e8 0%, #e0e0e0 100%);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.parcours-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

.parcours-step:hover .parcours-media {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Sécurité & confiance */
.qui-suis-je-section.securite-confiance {
    padding: 4rem 0 5rem;
    background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 100%);
    text-align: center;
}

.qui-suis-je-section.securite-confiance .section-title {
    margin-bottom: 2.5rem;
}

.securite-confiance-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
    justify-content: center;
    text-align: left;
}

.securite-confiance-content p {
    color: #404040;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    padding: 2rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-height: 160px;
    display: flex;
    align-items: center;
}

.securite-confiance-content p::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2729AA, #7260D7);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.securite-confiance-content p:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(25, 115, 66, 0.1);
}

.securite-confiance-content p:hover::before {
    transform: scaleX(1);
}

/* CTA téléphone : bande verte, texte fort */
.qui-suis-je-section.cta-phone {
    padding: 3rem 0;
    background-color: #2729AA;
    text-align: center;
}

.cta-phone-text {
    font-size: 1.25rem;
    color: #fff;
    margin: 0 auto 0.75rem;
    font-weight: 600;
    max-width: fit-content;
    text-align: center;
}

.cta-phone-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 auto;
    letter-spacing: 0.02em;
    max-width: fit-content;
    text-align: center;
}

.cta-phone-number a {
    color: #fff;
    text-decoration: none;
}

.cta-phone-number a:hover,
.cta-phone-number a:focus {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .mes-engagements-grid {
        grid-template-columns: 1fr;
    }

    .parcours-step {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .parcours-step-2 .parcours-media-first {
        order: 0;
    }

    .cta-phone-number {
        font-size: 1.75rem;
    }
}

/* ========== Page Outils - Design moderne ========== */
.page-outils {
    background-color: #f8f8f8;
}

.outils-hero {
    background: linear-gradient(135deg, #121F59 0%, #2d2d2d 100%);
    padding: 3rem 0;
    text-align: center;
    color: #fff;
}

.outils-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.outils-hero-title {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #fff;
}

.outils-hero-subtitle {
    font-size: 1.05rem;
    color: #e0e0e0;
    max-width: 540px;
    margin: 0 auto;
    word-wrap: break-word;
    padding: 0 20px;
}

.outils-section {
    padding: 4rem 0;
}

.outils-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.outils-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #2729AA, #7260D7);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 20px;
}

/* Section AnyDesk */
.outils-anydesk {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

/* En-tête : badge + titre + intro (pleine largeur) */
.outils-anydesk-header {
    max-width: 1200px;
    margin: 0 auto 2.5rem;
    padding: 0 60px;
    text-align: left;
}

.outils-anydesk-header .outils-badge {
    margin: 0 0 1rem;
}

.outils-anydesk-intro {
    font-size: 1rem;
    line-height: 1.6;
    color: #404040;
    margin: 0;
    max-width: 100%;
    word-wrap: break-word;
}

.outils-anydesk-header .outils-section-title {
    margin: 0 0 0.75rem;
}

.outils-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #121F59;
    line-height: 1.3;
    max-width: 100%;
    word-wrap: break-word;
    text-align: left;
}

/* Grille : étapes à gauche, carte 100% sécurisé à droite (même hauteur) */
.outils-anydesk-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.outils-anydesk-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 20px 0 0;
    min-width: 0;
}

.outils-steps {
    margin: 0 0 1.5rem;
    width: 100%;
    min-width: 0;
}

.outils-step {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 100%;
    overflow: hidden;
}

.outils-step:last-child {
    margin-bottom: 0;
}

.outils-step:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(25, 115, 66, 0.15);
}

.outils-step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2729AA, #7260D7);
    color: #fff;
    font-size: 1.125rem;
    font-weight: 800;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(25, 115, 66, 0.3);
}

.outils-step-content {
    min-width: 0;
}

.outils-step-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #121F59;
    margin-bottom: 0.35rem;
    max-width: 100%;
    word-wrap: break-word;
    line-height: 1.3;
}

.outils-step-content p {
    font-size: 0.9375rem;
    color: #595959;
    margin: 0;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.5;
}

.btn-download-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #2729AA, #7260D7);
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(25, 115, 66, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.outils-anydesk-left .btn-download-primary {
    margin: 0;
    width: 100%;
    justify-content: center;
}

.btn-download-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-download-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(25, 115, 66, 0.4);
}

.btn-download-primary:hover::before {
    left: 100%;
}

.outils-anydesk-visual {
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0 0 0 20px;
    min-height: 0;
}

/* Carte 100% sécurisé : même hauteur que les 3 étapes + bouton */
.outils-anydesk-card {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 2px solid rgba(25, 115, 66, 0.1);
    width: 100%;
    max-width: 380px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: outilsCardIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.outils-anydesk-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 40px rgba(25, 115, 66, 0.2), 0 4px 20px rgba(0, 0, 0, 0.08);
}

@keyframes outilsCardIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.outils-anydesk-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2729AA, #7260D7);
    color: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(25, 115, 66, 0.3);
    flex-shrink: 0;
    animation: outilsIconPulse 2.5s ease-in-out infinite;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.outils-anydesk-card:hover .outils-anydesk-icon {
    animation: none;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 28px rgba(25, 115, 66, 0.4);
}

@keyframes outilsIconPulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(25, 115, 66, 0.3); }
    50% { box-shadow: 0 8px 28px rgba(25, 115, 66, 0.45); }
}

.outils-anydesk-info {
    font-size: 1rem;
    color: #404040;
    line-height: 1.5;
    margin: 0;
    max-width: 100%;
    word-wrap: break-word;
}

.outils-anydesk-info strong {
    color: #2729AA;
    font-size: 1.125rem;
    display: block;
    margin-bottom: 0.25rem;
}

/* Section Ressources */
.outils-ressources {
    background: #fff;
}

.outils-ressources .section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.outils-ressources-grid {
    max-width: 1200px;
    margin: 2.5rem auto 0;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.outils-ressource-card {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
    max-width: 100%;
}

.outils-ressource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2729AA, #7260D7);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.outils-ressource-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(25, 115, 66, 0.1);
}

.outils-ressource-card:hover::before {
    transform: scaleX(1);
}

.outils-ressource-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2729AA, #7260D7);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(25, 115, 66, 0.25);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.outils-ressource-card:hover .outils-ressource-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(25, 115, 66, 0.35);
}

.outils-ressource-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #121F59;
    margin-bottom: 1rem;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    word-wrap: break-word;
}

.outils-ressource-card p {
    font-size: 1rem;
    color: #595959;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.outils-ressource-link {
    display: inline-block;
    color: #2729AA;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.outils-ressource-link:hover {
    color: #2729AA;
    transform: translateX(4px);
}

.outils-ressource-phone {
    font-size: 1.125rem;
    font-weight: 700;
}

.outils-ressource-soon {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #f0f0f0;
    color: #595959;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 20px;
}

/* Section Sécurité */
.outils-securite {
    background: linear-gradient(135deg, #2729AA, #7260D7);
    color: #fff;
}

.outils-securite-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.outils-securite-icon {
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.outils-securite-text h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    max-width: 100%;
    word-wrap: break-word;
}

.outils-securite-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Mes prestations : 1 colonne dès 900px (mobile/tablette), icônes centrées, boutons pleine largeur */
@media (max-width: 900px) {
    .prestation-section .prestation-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
        align-items: stretch;
    }
    .prestation-section .prestation-grid .prestation-card {
        max-width: none !important;
        width: 100% !important;
        justify-self: stretch;
        overflow: visible;
    }
    .prestation-section .prestation-card-header {
        align-items: center !important;
        text-align: center !important;
        width: 100%;
    }
    .prestation-section .prestation-card-icon {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .prestation-section .prestation-card-title {
        text-align: center !important;
        width: 100%;
    }
    .prestation-section .prestation-grid .prestation-card-cta {
        width: 100% !important;
        max-width: 100%;
        margin-top: auto;
        min-height: 48px;
        padding: 0.75rem 1.25rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        white-space: normal;
        line-height: 1.4;
        box-sizing: border-box;
        overflow: visible;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .outils-anydesk-header {
        padding: 0 40px;
        margin-bottom: 2rem;
    }

    .outils-anydesk-content {
        grid-template-columns: 1fr;
        padding: 0 40px;
        gap: 2.5rem;
    }

    .outils-anydesk-visual {
        order: -1;
        padding: 0;
    }

    .outils-anydesk-left {
        padding: 0;
    }

    .outils-anydesk-card {
        min-height: 0;
        max-width: 100%;
    }

    .outils-ressources-grid {
        grid-template-columns: 1fr;
    }

    .outils-securite-content {
        flex-direction: column;
        text-align: center;
    }

    .outils-hero-title {
        font-size: 1.75rem;
    }

    .outils-hero-subtitle {
        font-size: 1rem;
    }

    .outils-section-title {
        font-size: 1.5rem;
    }

    .prestation-hero-title {
        font-size: 1.75rem;
    }

    .prestation-hero-subtitle {
        font-size: 1rem;
    }

    .prestation-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
        width: 100%;
    }

    .prestation-grid .prestation-card {
        justify-self: stretch;
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .prestation-card {
        padding: 1.5rem 1.25rem;
        max-width: 100%;
        align-items: stretch;
        text-align: left;
    }

    .prestation-card-header {
        align-items: flex-start;
    }

    .prestation-card-icon {
        margin-bottom: 0.75rem;
    }

    .prestation-card-title {
        font-size: 1.15rem;
        line-height: 1.35;
    }

    .prestation-card-desc {
        font-size: 0.9375rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    /* Page Prestation : masquer les descriptions des cartes sur mobile */
    .prestation-section .prestation-grid .prestation-card-desc {
        display: none !important;
    }

    .prestation-card-cta {
        display: block;
        text-align: center;
        padding: 0.75rem 1.25rem;
        min-height: 44px;
        line-height: 1.4;
    }

    .prestation-intro {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .prestation-cta-title {
        font-size: 1.5rem;
    }

    .tarifs-section-title {
        font-size: 1.25rem;
    }

    .tarifs-table th,
    .tarifs-table td {
        padding: 0.65rem 0.75rem;
        font-size: 0.875rem;
    }

    .tarifs-table-small {
        max-width: 100%;
    }

    .tarifs-pourquoi-row-body {
        flex-wrap: wrap;
    }

}

/* ========== Page Prestation (tarification) ========== */
.page-prestation {
    background-color: #fff;
    overflow: visible;
    padding-bottom: 0;
}

/* Titre "Mes tarifications" sous les 3 modules */
.tarifs-block {
    padding: 3rem 0 0;
    background: #fff;
}

.tarifs-block .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.tarifs-block-title {
    margin-bottom: 0.5rem;
}

.tarifs-avance-intro {
    max-width: 640px;
    margin: 0 auto 2rem;
    text-align: center;
    color: #2729AA;
    font-size: 1rem;
    line-height: 1.6;
}

.tarifs-avance-intro strong {
    font-weight: 700;
}

/* Sections tarifs (Dépannage, Formation, Déplacements, Pourquoi) */
.tarifs-section {
    padding: 3rem 0;
}

.tarifs-section .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.tarifs-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #121F59;
    margin: 0 0 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tarifs-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: #2729AA;
}

.tarifs-section-icon svg {
    width: 26px;
    height: 26px;
}

.tarifs-section-desc {
    font-size: 1rem;
    color: #404040;
    margin: 0 0 1.5rem;
    margin-left: 0;
    width: auto;
}

.tarifs-depannage,
.tarifs-formation {
    background: #fff;
}

.tarifs-deplacements {
    background: #fff;
}

/* Pas de barre de défilement : tableau Déplacements pleine largeur, texte qui wrap */
.tarifs-deplacements .tarifs-table-wrap,
.tarifs-deplacements .tarifs-table-wrap.tarifs-table-small {
    overflow-x: visible !important;
    max-width: 100% !important;
    -webkit-overflow-scrolling: auto;
}
.tarifs-deplacements .tarifs-table-small {
    max-width: 100% !important;
}
.tarifs-deplacements .tarifs-table {
    table-layout: fixed;
    width: 100%;
}
.tarifs-deplacements .tarifs-table td {
    white-space: normal !important;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    min-width: 0;
}
.tarifs-deplacements .tarifs-table .tarifs-price {
    white-space: normal !important;
}
.tarifs-deplacements .tarifs-table td:last-child {
    width: 52%;
}

.tarifs-pourquoi {
    background: #fff;
}

/* Tableaux tarifs – style moderne, typo DA (Outfit) */
.tarifs-table-wrap {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid rgba(39, 41, 170, 0.12);
    box-shadow: 0 4px 20px rgba(39, 41, 170, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    background: #fff;
}

.tarifs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

.tarifs-table th,
.tarifs-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.tarifs-table thead th {
    background: linear-gradient(135deg, #2729AA 0%, #4a3fbf 50%, #7260D7 100%);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

.tarifs-table thead th:first-child {
    border-radius: 16px 0 0 0;
}

.tarifs-table thead th:last-child {
    border-radius: 0 16px 0 0;
}

.tarifs-table tbody tr:nth-child(even) {
    background: rgba(39, 41, 170, 0.03);
}

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

.tarifs-table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 16px;
}

.tarifs-table tbody tr:last-child td:last-child {
    border-radius: 0 0 16px 0;
}

.tarifs-table tbody tr:hover {
    background: rgba(39, 41, 170, 0.06);
}

.tarifs-price {
    font-weight: 700;
    color: #2729AA;
    white-space: nowrap;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.tarifs-offert {
    color: #7260D7;
}

.tarifs-table-small {
    max-width: 400px;
}

/* Tableaux (dont Jour/Horaires) : forcer Outfit sur TOUT le contenu des tableaux */
body.page-template-page-prestation table,
body .page-prestation table {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
body.page-template-page-prestation table th,
body.page-template-page-prestation table td,
body.page-template-page-prestation table thead th,
body.page-template-page-prestation table tbody td,
body .page-prestation table th,
body .page-prestation table td {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
/* Nucléaire : tous les éléments à l'intérieur d'un tableau (contourne blocs / inline) */
body.page-template-page-prestation table th,
body.page-template-page-prestation table td,
body.page-template-page-prestation table th *,
body.page-template-page-prestation table td *,
body .page-prestation table th,
body .page-prestation table td,
body .page-prestation table th *,
body .page-prestation table td * {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* Pourquoi choisir INFORMATH - 4 rectangles compacts empilés verticalement */
.tarifs-pourquoi-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    max-width: 720px;
}

.tarifs-pourquoi-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 0.6rem 1rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.tarifs-pourquoi-row:hover {
    border-color: rgba(25, 115, 66, 0.3);
    box-shadow: 0 2px 8px rgba(25, 115, 66, 0.08);
}

.tarifs-pourquoi-row .tarifs-pourquoi-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: linear-gradient(135deg, #2729AA, #7260D7);
    color: #fff;
    border-radius: 8px;
    flex-shrink: 0;
}

.tarifs-pourquoi-row .tarifs-pourquoi-icon svg {
    width: 20px;
    height: 20px;
}

.tarifs-pourquoi-row-body {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
    flex-wrap: wrap;
}

.tarifs-pourquoi-row-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #121F59;
}

.tarifs-pourquoi-row-text {
    font-size: 0.8125rem;
    color: #404040;
    line-height: 1.4;
}

.site-main.page-prestation {
    overflow: visible;
    min-height: auto;
}

/* Retire l'espace blanc entre CTA et bannière verte sur page Prestation */
body.page-template-page-prestation .social-band {
    border-top: none;
    margin-top: 0;
}

.prestation-hero {
    background: linear-gradient(135deg, #121F59 0%, #2d2d2d 100%);
    padding: 3rem 0;
    text-align: center;
    color: #fff;
}

.prestation-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.prestation-hero-title {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #fff;
}

.prestation-hero-subtitle {
    font-size: 1.05rem;
    color: #e0e0e0;
    max-width: 540px;
    margin: 0 auto;
    word-wrap: break-word;
    padding: 0 20px;
}

.prestation-section {
    padding: 4rem 0;
    overflow: visible;
}

.prestation-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    overflow: visible;
}

.prestation-tarifs {
    background: #fff;
}

.prestation-tarifs .container {
    text-align: center;
}

.prestation-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #404040;
}

.prestation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
    overflow: visible;
    max-width: 1000px;
    margin: 0 auto;
    min-width: 0;
}

.prestation-grid .prestation-card {
    min-width: 0;
    height: 100%;
}

.prestation-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    max-width: 320px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    justify-self: center;
}

.prestation-card:hover {
    border-color: rgba(25, 115, 66, 0.3);
    box-shadow: 0 8px 24px rgba(25, 115, 66, 0.12);
    transform: translateY(-4px);
}

.prestation-card-header {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    min-width: 0;
    width: 100%;
}

.prestation-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2729AA, #7260D7);
    color: #fff;
    border-radius: 12px;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
}

.prestation-card-icon svg {
    flex-shrink: 0;
}

.prestation-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #121F59;
    margin: 0 auto 0.5rem;
    max-width: 100%;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center !important;
}

.prestation-card-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #404040;
    margin: 0 0 1rem;
    flex: 1;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Desktop uniquement : icônes centrées avec le texte (header pleine largeur + centrage forcé) */
@media (min-width: 769px) {
    body .prestation-section .prestation-grid .prestation-card {
        align-items: stretch !important;
    }
    body .prestation-section .prestation-grid .prestation-card .prestation-card-header {
        margin-bottom: 0.75rem;
        height: 6.2rem;
        min-height: 6.2rem;
        align-self: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
    body .prestation-section .prestation-grid .prestation-card .prestation-card-icon {
        margin-bottom: 0.5rem !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: 0 !important;
        flex-shrink: 0 !important;
        display: inline-flex !important;
    }
    body .prestation-section .prestation-grid .prestation-card .prestation-card-title,
    body .prestation-section .prestation-grid .prestation-card h3.prestation-card-title {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }
    body .prestation-section .prestation-grid .prestation-card:nth-child(3) .prestation-card-title {
        line-height: 1.05;
    }
    body .prestation-section .prestation-grid .prestation-card:nth-child(3) .prestation-card-desc {
        margin-top: 0 !important;
    }
}

.prestation-card-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: #2729AA;
    margin: 0 0 1rem;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.prestation-card-cta {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    background: linear-gradient(135deg, #2729AA, #7260D7);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
}

.prestation-card-cta:hover,
.prestation-card-cta:focus {
    background: linear-gradient(135deg, #7260D7, #2d9d5f);
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(25, 115, 66, 0.3);
}

.prestation-cta {
    background: linear-gradient(135deg, #121F59 0%, #2d2d2d 100%);
    text-align: center;
    color: #fff;
    padding: 4rem 0 5rem;
    overflow: visible;
}

.prestation-cta-inner {
    max-width: 560px;
    margin: 0 auto;
}

.prestation-cta-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 0.75rem;
    color: #fff;
}

.prestation-cta-text {
    font-size: 1rem;
    color: #e0e0e0;
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

.btn-prestation-cta {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, #2729AA, #7260D7);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-prestation-cta:hover,
.btn-prestation-cta:focus {
    background: linear-gradient(135deg, #7260D7, #2d9d5f);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(25, 115, 66, 0.35);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #121F59;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    display: block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #2729AA, transparent);
    border-radius: 2px;
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
    color: #121F59;
}

.section-content p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Agrément Service à la Personne - Badge moderne (lien vers Prestation) */
.section-content .agrement-badge,
.agrement-badge.sap-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem auto 0;
    padding: 1rem 1.5rem;
    text-decoration: none;
    background: linear-gradient(135deg, #2729AA 0%, #7260D7 100%);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(25, 115, 66, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sap-section .agrement-badge.sap-section-badge {
    margin: 0 auto 1.5rem;
}

#qui-sommes-nous .section-title {
    text-align: center;
}

.section-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.section-content .tools-grid,
.section-content .contact-info {
    width: 100%;
    align-self: stretch;
}

.agrement-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(25, 115, 66, 0.45);
}

.agrement-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.agrement-badge-icon svg {
    width: 26px;
    height: 26px;
    color: #fff;
}

.agrement-badge-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.agrement-badge-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

.agrement-badge-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .agrement-badge {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem 1.5rem;
        border-radius: 16px;
    }
    
    .agrement-badge-icon {
        width: 48px;
        height: 48px;
    }
    
    .agrement-badge-content {
        align-items: center;
    }
}

/* ========== Section SAP (Agrément Service à la Personne) ========== */
.sap-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #C4B3EA 0%, #C4B3EA 50%, #C4B3EA 100%);
    position: relative;
    overflow: hidden;
}

.sap-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(25, 115, 66, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.sap-section-badge {
    display: inline-flex;
    margin: 0 auto 1.5rem;
}

.sap-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sap-section .container > .agrement-badge.sap-section-badge {
    flex-shrink: 0;
}

.sap-section-badge .agrement-badge-content {
    align-items: center;
}

.sap-section-badge .agrement-badge-title {
    white-space: normal;
    text-align: center;
}

.sap-section-intro {
    max-width: 640px;
    margin: 0 auto 1rem;
    text-align: center;
    color: #121F59;
    font-size: 1.05rem;
    line-height: 1.65;
}

.sap-avance-intro {
    max-width: 640px;
    margin: 0 auto 1.25rem;
    text-align: center;
    color: #2729AA;
    font-size: 1rem;
    line-height: 1.6;
}

.sap-avance-intro strong {
    font-weight: 700;
}

.sap-cards {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
}

.sap-card {
    flex: 1 1 260px;
    max-width: 340px;
    min-width: 0;
    background: #fff;
    padding: 1.15rem 1.35rem;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(25, 115, 66, 0.06);
    border: 1px solid rgba(25, 115, 66, 0.12);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.sap-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(25, 115, 66, 0.12);
}

.sap-card-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #2729AA;
    line-height: 1.2;
    margin-bottom: 0.35rem;
}

.sap-card-highlight {
    background: linear-gradient(135deg, #2729AA 0%, #7260D7 100%);
    border-color: transparent;
    padding: 1.15rem 1.35rem;
}

.sap-card-highlight .sap-card-label {
    color: rgba(255, 255, 255, 0.95);
}

.sap-card-example {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.sap-card-from {
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: line-through;
}

.sap-card-arrow {
    font-size: 1rem;
    color: #fff;
}

.sap-card-to {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.sap-card-label {
    font-size: 0.8125rem;
    color: #404040;
    margin: 0;
    line-height: 1.45;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.sap-astuce {
    max-width: 640px;
    width: 100%;
    margin: 0 auto 2.5rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    border-left: 4px solid #2729AA;
    box-shadow: 0 2px 12px rgba(25, 115, 66, 0.1);
    box-sizing: border-box;
}

.sap-astuce-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2729AA;
    margin: 0 0 0.75rem;
}

.sap-astuce-text {
    font-size: 0.9rem;
    color: #121F59;
    margin: 0;
    line-height: 1.55;
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 100%;
}

.sap-astuce-text q {
    font-style: normal;
    quotes: "« " " »";
}

.sap-astuce-note {
    font-size: 0.9rem;
    color: #404040;
    margin: 0;
    font-style: italic;
    line-height: 1.5;
}

.sap-cta-wrap {
    text-align: center;
}

.sap-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    background: linear-gradient(135deg, #2729AA 0%, #7260D7 100%);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(25, 115, 66, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sap-cta:hover,
.sap-cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(25, 115, 66, 0.45);
}

@media (max-width: 768px) {
    .sap-section {
        padding: 2.5rem 1rem;
    }

    .sap-section .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .sap-section-intro {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
        line-height: 1.5;
    }

    .sap-avance-intro {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

    .sap-section-badge {
        margin-bottom: 1rem;
        padding: 0.85rem 1rem;
        gap: 0.75rem;
    }

    .sap-section-badge .agrement-badge-title {
        font-size: 0.9rem;
    }

    .sap-section-badge .agrement-badge-text {
        font-size: 0.8rem;
    }

    .sap-section-badge .agrement-badge-icon {
        width: 40px;
        height: 40px;
    }

    .sap-section-badge .agrement-badge-icon svg {
        width: 22px;
        height: 22px;
    }

    .sap-cards {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 1.25rem;
    }

    /* Téléphone : blocs à la taille du texte uniquement */
    .sap-card,
    .sap-card-highlight {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 0.28rem 0.5rem !important;
        min-height: 0 !important;
        align-self: flex-start !important;
        border-radius: 10px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: center !important;
        box-sizing: border-box;
    }

    .sap-card-value {
        font-size: 1.1rem !important;
        margin-bottom: 0.15rem;
        line-height: 1.2;
    }

    .sap-card-label {
        font-size: 0.7rem !important;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: center !important;
    }

    .sap-card-example {
        gap: 0.4rem;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 0.35rem;
    }

    .sap-card-example + .sap-card-label {
        margin-top: 0;
    }

    .sap-card-from {
        font-size: 0.9rem;
    }

    .sap-card-arrow {
        font-size: 0.9rem;
    }

    .sap-card-to {
        font-size: 1.05rem;
    }

    .sap-card-highlight .sap-card-label {
        font-size: 0.7rem !important;
        line-height: 1.3;
        text-align: center !important;
    }

    .sap-astuce {
        padding: 0.8rem 1rem;
        max-width: 100%;
        margin-bottom: 1.5rem;
        border-radius: 12px;
    }

    .sap-astuce-text {
        font-size: 0.8125rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .sap-cta-wrap {
        margin-top: 0;
    }

    .sap-cta {
        padding: 0.6rem 1.25rem;
        font-size: 0.875rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tool-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tool-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2729AA, #7260D7);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tool-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(25, 115, 66, 0.1);
}

.tool-item:hover::before {
    transform: scaleX(1);
}

.tool-item h3 {
    color: #2729AA;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.tool-item p {
    color: #404040;
    margin-bottom: 1rem;
    margin-left: 0;
    width: auto;
    text-align: left;
    font-size: 1rem;
}

.btn-download {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #2729AA;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-top: 0.5rem;
}

.btn-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.5s ease;
}

.btn-download:hover,
.btn-download:focus {
    background-color: #2729AA;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(25, 115, 66, 0.45);
}

.btn-download:hover::before,
.btn-download:focus::before {
    left: 100%;
}

/* Contact Section (landing) - fond noir pour ce bloc uniquement */
.content-section.contact-section {
    background-color: #121F59;
    color: #fff;
}

.contact-section .section-title {
    color: #fff;
    text-align: center;
}

.contact-section .section-content p,
.contact-section .contact-info p {
    margin-left: 0;
    width: auto;
    max-width: 700px;
}

.contact-section .section-title::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
}

.contact-section .section-content {
    color: #fff;
}

.contact-info {
    margin-top: 2rem;
    text-align: center;
}

.contact-section .contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 0;
}

.contact-info p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.contact-section .contact-info p {
    margin-left: 0;
    width: auto;
    text-align: center;
}

/* Bloc Contact landing : labels en vert, valeurs en blanc */
.content-section.contact-section .contact-info p {
    color: #fff;
}

.content-section.contact-section .contact-info strong {
    color: #C4B3EA;
    font-weight: 700;
}

.content-section.contact-section .contact-info a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.content-section.contact-section .contact-info a:hover,
.content-section.contact-section .contact-info a:focus {
    color: #fff;
    opacity: 0.9;
}

.contact-info strong {
    color: #2729AA;
}

/* Page Contact - style moderne / futuriste (aligné Prestation, Qui suis-je) */
.contact-page {
    background-color: #fff;
}

/* Hero Contact (gradient sombre comme Prestation) */
.contact-hero {
    background: linear-gradient(135deg, #121F59 0%, #2d2d2d 100%);
    padding: 3rem 0;
    text-align: center;
    color: #fff;
}

.contact-hero .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-hero-title {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #fff;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeInUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

.contact-hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.contact-form-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #f8faf9 0%, #f0f5f2 50%, #e8f0ec 100%);
    position: relative;
    overflow: hidden;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(25, 115, 66, 0.12) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-form-section .container--narrow {
    position: relative;
    z-index: 1;
}

.container--narrow {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-form-intro {
    font-size: 1rem;
    color: #404040;
    text-align: center;
    margin-left: 0;
    width: auto;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.contact-form-success {
    padding: 1rem 1.25rem;
    margin-left: 0;
    width: auto;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #121F59;
    background-color: #d4edda;
    border: 2px solid #2729AA;
    border-radius: 8px;
    text-align: center;
}

.contact-form-error {
    padding: 1rem 1.25rem;
    margin-left: 0;
    width: auto;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #721c24;
    background-color: #f8d7da;
    border: 2px solid #f5c6cb;
    border-radius: 8px;
    text-align: center;
}

.contact-form {
    background-color: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(25, 115, 66, 0.06);
    border: 1px solid rgba(25, 115, 66, 0.12);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    opacity: 0;
    animation: fadeInUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}

.contact-form:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(25, 115, 66, 0.12);
}

@media (prefers-reduced-motion: reduce) {
    .contact-hero-title,
    .contact-hero-subtitle,
    .contact-form,
    .contact-info-card {
        animation: none;
        opacity: 1;
    }
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.contact-form-field {
    margin: 0 0 1.25rem 0;
    margin-left: 0;
    width: auto;
    text-align: left;
}

.contact-form-field label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #121F59;
    margin-bottom: 0.5rem;
}

.contact-form-field input,
.contact-form-field textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: #121F59;
    background-color: #f8f8f8;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form-field input:hover,
.contact-form-field textarea:hover {
    border-color: #c0c0c0;
    background-color: #fff;
}

.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder {
    color: #595959;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
    outline: none;
    border-color: #2729AA;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(25, 115, 66, 0.18), 0 2px 12px rgba(25, 115, 66, 0.12);
    transform: translateY(-2px);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-form-submit {
    margin: 1.5rem 0 0 0;
    margin-left: 0;
    width: auto;
    text-align: center;
}

.contact-form-recaptcha-notice {
    font-size: 0.55rem;
    color: #9ca3af;
    margin: 0.75rem 0 0;
    padding: 0 0.5rem;
    line-height: 1.35;
    text-align: center;
    max-width: 100%;
}

.contact-form-recaptcha-notice a {
    color: #6b7280;
    text-decoration: underline;
}

/* Masque le badge reCAPTCHA (mention légale affichée sous le bouton) */
.grecaptcha-badge {
    visibility: hidden;
}

.contact-form-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    background: linear-gradient(135deg, #2729AA 0%, #7260D7 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(25, 115, 66, 0.35);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.contact-form-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.5s ease;
}

.contact-form-btn:hover,
.contact-form-btn:focus {
    background: linear-gradient(135deg, #7260D7 0%, #2d9d5f 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 24px rgba(25, 115, 66, 0.45);
}

.contact-form-btn:hover::before,
.contact-form-btn:focus::before {
    left: 100%;
}

.contact-info-section {
    padding: 3rem 0 4rem;
    background: linear-gradient(180deg, #e8f0ec 0%, #f0f5f2 50%, #f8faf9 100%);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(25, 115, 66, 0.04);
    border: 1px solid rgba(25, 115, 66, 0.08);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.contact-info-card-1 { animation-delay: 0.1s; }
.contact-info-card-2 { animation-delay: 0.25s; }
.contact-info-card-3 { animation-delay: 0.4s; }

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2729AA, #7260D7);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(25, 115, 66, 0.15);
}

.contact-info-card:hover::before {
    transform: scaleX(1);
}

.contact-info-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2729AA 0%, #7260D7 100%);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(25, 115, 66, 0.25);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-info-card:hover .contact-info-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(25, 115, 66, 0.35);
}

.contact-info-icon svg {
    flex-shrink: 0;
}

.contact-info-heading {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #121F59;
    margin-bottom: 1rem;
}

.contact-info-text {
    font-size: 1rem;
    color: #404040;
    margin: 0 0 0.5rem 0;
    margin-left: 0;
    width: auto;
    text-align: center;
    line-height: 1.5;
}

.contact-info-text a {
    color: #2729AA;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.contact-info-text a:hover,
.contact-info-text a:focus {
    color: #2729AA;
}

.contact-page-strip {
    height: 12px;
    background: linear-gradient(90deg, #2729AA 0%, #7260D7 50%, #2729AA 100%);
    background-size: 200% 100%;
    animation: stripShimmer 3s ease-in-out infinite;
}

@keyframes stripShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@media (max-width: 768px) {
    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-form-section {
        padding: 3rem 0;
    }

    .securite-confiance-content {
        grid-template-columns: 1fr;
    }
}

/* Hero Section (Page d'accueil) */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: calc(100vh - 200px);
    padding: 4rem 0;
    background-color: #fff;
    color: #121F59;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
    cursor: grab;
}

.network-canvas:active {
    cursor: grabbing;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
    overflow: visible;
}


.hero-title {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #121F59;
    animation: fadeInUp 0.8s ease-out;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.75;
    margin: 0 auto 2.5rem;
    max-width: 700px;
    width: 100%;
    text-align: center;
    color: #121F59;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    overflow: visible;
}

.hero-devices {
    position: absolute;
    bottom: -8px;
    width: 200px;
    height: 95px;
    animation: fadeInUp 0.8s ease-out 0.35s both;
}

.hero-devices-left {
    left: -20px;
}

.hero-devices-right {
    right: -20px;
    left: auto;
    width: 180px;
    height: 95px;
}

.hero-devices-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.hero-devices-icons .hero-icon-img {
    width: auto;
    height: 52px;
    max-width: 56px;
    object-fit: contain;
    filter: grayscale(1) sepia(1) hue-rotate(80deg) saturate(3) brightness(0.85) contrast(1.25) drop-shadow(0 2px 6px rgba(25, 115, 66, 0.25));
    transition: transform 0.3s ease;
}

.hero-devices-icons:hover .hero-icon-img {
    transform: translateY(-2px);
}

/* ===== Palette test (bleu/violet) ===== */
:root {
    --informath-primary: #2729AA;
    --informath-secondary: #7260D7;
    --informath-dark: #121F59;
    --informath-light: #C4B3EA;
    --informath-black: #121F59;
}

body {
    color: var(--informath-black);
}

.section-title,
.prestation-hero-title,
.contact-hero-title,
.tarifs-section-title,
.tarifs-block-title,
.tool-item h3 {
    color: var(--informath-dark) !important;
}

.prestation-hero-title {
    color: #fff !important;
}

.section-title::after,
.contact-section .section-title::after {
    background: linear-gradient(90deg, transparent, var(--informath-primary), transparent) !important;
}

.btn-contact,
.btn-prestation-cta,
.btn-download,
.prestation-card-cta,
.sap-cta,
.contact-form-btn {
    background: var(--informath-dark) !important;
}

.btn-contact:hover,
.btn-contact:focus,
.btn-prestation-cta:hover,
.btn-prestation-cta:focus,
.btn-download:hover,
.btn-download:focus,
.prestation-card-cta:hover,
.prestation-card-cta:focus,
.sap-cta:hover,
.sap-cta:focus,
.contact-form-btn:hover,
.contact-form-btn:focus {
    background: var(--informath-primary) !important;
    box-shadow: 0 12px 28px rgba(39, 41, 170, 0.35) !important;
}

.agrement-badge,
.agrement-badge.sap-section-badge {
    background: linear-gradient(135deg, var(--informath-primary) 0%, var(--informath-secondary) 100%) !important;
    box-shadow: 0 4px 20px rgba(39, 41, 170, 0.35) !important;
}

.agrement-badge:hover {
    box-shadow: 0 6px 25px rgba(39, 41, 170, 0.45) !important;
}

.sap-section {
    background: linear-gradient(180deg, #f4f1ff 0%, #e8e2fb 50%, var(--informath-light) 100%) !important;
}

.content-section.contact-section,
.contact-hero {
    background: linear-gradient(135deg, var(--informath-dark) 0%, #0b1030 100%) !important;
}

.contact-section .section-title,
.contact-section .section-content,
.contact-hero,
.contact-hero-title,
.contact-hero-subtitle {
    color: #fff !important;
}

.tarifs-section-icon,
.tarifs-pourquoi-icon {
    color: #fff !important;
}

.tool-item::before {
    background: linear-gradient(90deg, var(--informath-primary), var(--informath-secondary)) !important;
}

.hero-cta-row .btn-contact {
    position: relative;
    z-index: 1;
}

.hero-devices-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15)) drop-shadow(0 2px 4px rgba(25, 115, 66, 0.2));
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-devices-svg-line {
    color: #2729AA;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.12));
}

.hero-devices:hover .hero-devices-svg {
    transform: translateY(-3px);
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background-color: #121F59;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.btn-contact:hover,
.btn-contact:focus {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 28px rgba(25, 115, 66, 0.4);
    background-color: #2729AA;
    color: #fff;
}

.btn-contact:hover::before,
.btn-contact:focus::before {
    left: 100%;
}

.btn-contact:hover .btn-logo,
.btn-contact:focus .btn-logo {
    filter: brightness(0) invert(1);
}

.btn-contact:active {
    transform: translateY(-2px) scale(1.01);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Posts */
.post {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #595959;
}

.post:last-child {
    border-bottom: none;
}

.post-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.post-title a {
    color: #121F59;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover,
.post-title a:focus {
    color: #2729AA;
}

.post-meta {
    color: #404040;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.post-content {
    margin-top: 1rem;
    line-height: 1.8;
}

.post-content p {
    margin-bottom: 1rem;
}

.post-content a {
    color: #1d4ed8;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.post-content a:hover,
.post-content a:focus {
    color: #2729AA;
    text-decoration: underline;
}

/* Bandeau réseaux sociaux - défilement marquee */
.social-band {
    background: linear-gradient(90deg, #2729AA 0%, #7260D7 50%, #2729AA 100%);
    background-size: 200% 100%;
    color: #fff;
    padding: 1.25rem 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-band::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0.6;
}

.social-band-marquee-wrap {
    overflow: hidden;
    width: 100%;
}

.social-band-marquee {
    display: inline-block;
    padding: 0.35rem 0;
    white-space: nowrap;
}

.social-band-marquee-item {
    display: inline-flex;
    align-items: center;
    margin: 0 3.5rem;
    white-space: nowrap;
    gap: 0.5rem;
}

.social-band-text {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    color: rgba(255, 255, 255, 0.98);
    vertical-align: middle;
    letter-spacing: 0.02em;
}

.social-band-logo {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    transition: transform 0.3s ease;
}

.social-band-marquee-item:hover .social-band-logo {
    transform: scale(1.1);
}

.social-band-sep {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0.5rem;
    font-weight: 300;
}

.social-band-marquee .social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    vertical-align: middle;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.25s ease;
}

.social-band-marquee .social-link:hover,
.social-band-marquee .social-link:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-band-marquee .social-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.social-band-marquee .social-link:hover .social-icon,
.social-band-marquee .social-link:focus .social-icon {
    transform: scale(1.15);
}

.social-band-marquee .social-label {
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

@media (prefers-reduced-motion: reduce) {
    .social-band-marquee {
        animation: none;
    }

    .site-header,
    .site-header::after,
    .main-navigation li {
        animation: none;
    }

    .main-navigation li {
        opacity: 1;
    }

    .btn-contact:hover,
    .btn-contact:focus,
    .btn-download:hover,
    .btn-download:focus,
    .contact-form-btn:hover,
    .contact-form-btn:focus,
    .presentation-cta-btn:hover,
    .presentation-cta-btn:focus,
    .main-navigation a:hover,
    .main-navigation a:focus {
        transform: none;
    }

    .parcours-step {
        animation: none;
        opacity: 1;
    }

    .parcours-step:hover {
        transform: none;
    }
}

/* Footer - fond noir */
.site-footer {
    background: linear-gradient(180deg, #121F59 0%, #0f0f0f 100%);
    color: rgba(255, 255, 255, 0.85);
    padding: 2.5rem 0;
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
    text-align: center;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
}

.footer-content p {
    margin: 0;
    margin-left: 0;
    width: auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35em;
}

.site-footer a {
    color: #7260D7;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.site-footer a:hover,
.site-footer a:focus {
    color: #4ade80;
    opacity: 0.95;
}

/* Focus visible pour accessibilité clavier */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn-contact:focus-visible,
.agrement-badge:focus-visible,
.main-navigation a:focus-visible {
    outline: 3px solid #2729AA;
    outline-offset: 2px;
}

/* Masquer le focus outline au clic souris, garder au clavier */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

/* Responsive - smartphones et tablettes */
@media (max-width: 768px) {
    /* Optimisations mobile (performance, touch, overflow) */
    html {
        overflow-x: hidden;
    }

    body {
        overflow-x: hidden;
    }

    a, button, .btn-contact, .agrement-badge, .main-navigation a {
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(25, 115, 66, 0.2);
    }

    /* Paragraphes : retirer margin-left global pour éviter débordement mobile */
    p {
        margin-left: 0;
        width: auto;
        max-width: 100%;
    }

    .tarifs-section .container,
    .tarifs-block .container,
    .prestation-section .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Mobile : barre de recherche uniquement dans le menu déroulant (pas dans la barre du header) */
    .header-search--mobile {
        display: none !important;
        width: 100%;
        margin-bottom: 0.75rem;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .site-header.menu-open .header-search--mobile {
        display: flex !important;
    }

    .header-search--mobile .search-field {
        min-height: 40px;
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
        width: 100%;
        box-sizing: border-box;
    }

    .header-search--desktop {
        display: none !important;
    }

    .menu-toggle {
        display: flex;
        order: 2;
    }

    .site-branding {
        order: 1;
    }

    .header-nav-wrap {
        order: 3;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        transition: max-height 0.35s ease;
    }

    .site-header.menu-open .header-nav-wrap {
        max-height: 480px;
    }

    .main-navigation {
        margin-right: 0;
        padding: 0.5rem 0 0;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        list-style: none;
        padding-left: 0;
        margin: 0 0 0.5rem 0;
    }

    .main-navigation li {
        display: block;
        margin-bottom: 0.35rem;
    }

    .main-navigation a {
        display: block;
        padding: 0.75rem 1rem;
        font-size: 1rem;
        min-height: 44px;
        line-height: 1.4;
        box-sizing: border-box;
        white-space: normal;
        word-break: normal;
    }

    .header-search {
        position: static;
        transform: none;
        width: 100%;
        max-width: 100%;
        margin: 1rem 0 0;
        padding: 1rem 16px 0;
        border-top: 1px solid #595959;
        box-sizing: border-box;
    }

    .header-search form,
    .header-search .search-form {
        width: 100%;
        max-width: 100%;
    }

    .header-search input[type="search"],
    .header-search .search-field {
        width: 100%;
        max-width: 100%;
        font-size: 1rem;
        min-height: 44px;
        padding: 0.6rem 1rem;
        box-sizing: border-box;
        border-radius: 10px;
    }

    .header-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-header .container {
        padding-left: 0;
        padding-right: 0;
    }

    .post-title {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn-contact {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-content p,
    .tool-item p {
        font-size: 1rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 3rem 0;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .container--narrow {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-section {
        min-height: calc(100vh - 180px);
        padding: 2.5rem 0;
    }

    .hero-content {
        padding: 1.5rem 1rem;
    }

    .hero-cta-row {
        min-height: 85px;
    }

    .hero-devices-left {
        left: -10px;
        width: 160px;
        height: 76px;
    }

    .hero-devices-right {
        right: -10px;
        width: 140px;
        height: 75px;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-hero-title {
        font-size: 1.75rem;
    }

    .contact-hero-subtitle {
        font-size: 1rem;
    }

    .social-band {
        padding: 1rem 0;
    }

    .social-band-marquee-item {
        margin: 0 2.25rem;
    }

    .social-band-text {
        font-size: 0.95rem;
    }

    .social-band-logo {
        width: 22px;
        height: 22px;
    }

    .social-band-marquee .social-link {
        padding: 0.25rem 0.6rem;
    }

    .social-band-marquee .social-icon {
        width: 20px;
        height: 20px;
    }

    .social-band-marquee .social-label {
        font-size: 0.9rem;
    }

    .site-footer {
        padding: 1.5rem 0;
        margin-top: 0;
    }

    .footer-content {
        font-size: 0.95rem;
    }

    .btn-contact {
        min-height: 48px;
        padding: 0.875rem 2rem;
    }

    .contact-form-btn {
        min-height: 48px;
        padding: 0.875rem 2rem;
        width: 100%;
        max-width: 280px;
    }

    .site-logo {
        height: 44px;
    }

    .site-name {
        font-size: 1.25rem;
    }

    body.front-page .mes-engagements .engagement-item {
        padding: 1.5rem;
    }

    body.front-page .mes-engagements .engagement-icon {
        width: 52px;
        height: 52px;
    }

    body.front-page .mes-engagements .engagement-title {
        font-size: 1.1rem;
    }

    body.front-page .parcours-step {
        padding: 1.8rem;
    }

    body.front-page .tool-item {
        padding: 1.75rem;
    }

    body.page-template-page-prestation .prestation-card {
        padding: 1.45rem;
        max-width: 100%;
        text-align: center;
        align-items: stretch;
        gap: 0.85rem;
    }

    body.page-template-page-prestation .prestation-grid {
        gap: 1.25rem;
        align-items: stretch;
    }

    body.page-template-page-prestation .tarifs-pourquoi-row {
        padding: 0.65rem 0.85rem;
    }

    body.page-template-page-prestation .tarifs-pourquoi-row-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15rem;
    }

    body.page-template-page-prestation .prestation-card-header {
        align-items: center;
        text-align: center;
    }

    body.page-template-page-prestation .prestation-card-desc {
        display: none !important;
    }

    body.page-template-page-prestation .prestation-card-cta,
    .prestation-section .prestation-grid .prestation-card-cta {
        width: 100%;
        margin-top: auto;
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
        min-height: 48px;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        white-space: normal;
        line-height: 1.35;
        box-sizing: border-box;
    }

    body.page-template-page-prestation .prestation-card {
        padding: 1rem 1.15rem;
        gap: 0.6rem;
    }

    body.page-template-page-prestation .prestation-card-icon {
        width: 40px;
        height: 40px;
    }

    body.page-template-page-prestation .prestation-card-icon svg {
        width: 24px;
        height: 24px;
    }

    body.page-template-page-prestation .prestation-card-title {
        font-size: 1rem;
    }

    /* Moins de texte sur mobile : masquer intros longues, simplifier blocs */
    body.page-template-page-prestation .prestation-intro {
        display: none;
    }
    body.page-template-page-prestation .prestation-card-price {
        display: none;
    }
    body.page-template-page-prestation .tarifs-block .tarifs-avance-intro {
        display: none;
    }
    body.page-template-page-prestation .tarifs-section-desc {
        display: none;
    }
    body.page-template-page-prestation .tarifs-pourquoi-row-text {
        display: none;
    }
    body.page-template-page-prestation .prestation-cta-text {
        display: none;
    }
}

/* Très petits écrans (smartphones en portrait) */
@media (max-width: 480px) {
    html {
        font-size: 16px;
    }

    .agrement-badge {
        padding: 1rem 1.25rem;
        font-size: 0.9rem;
    }

    .agrement-badge-title {
        font-size: 0.9rem;
    }

    .agrement-badge-text {
        font-size: 0.8rem;
    }

    .tarifs-section .container,
    .tarifs-block .container,
    .prestation-section .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .container,
    .container--narrow {
        padding-left: 12px;
        padding-right: 12px;
    }

    .header-content {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.25;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-section {
        padding: 1.5rem 0;
        min-height: calc(100vh - 160px);
    }

    .hero-content {
        padding: 1rem 0.5rem;
    }

    .hero-cta-row {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
        min-height: auto;
        padding: 0.5rem 0;
    }

    .hero-devices-left,
    .hero-devices-right {
        position: static;
        order: 1;
    }

    .hero-cta-row .btn-contact {
        order: 2;
        flex-basis: 100%;
    }

    .hero-devices-left {
        width: 100px;
        height: 48px;
    }

    .hero-devices-right {
        width: 100px;
        height: 54px;
    }

    .hero-devices-icons .hero-icon-img {
        height: 40px;
        max-width: 44px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .content-section {
        padding: 2rem 0;
    }

    .contact-form-section {
        padding: 2rem 0;
    }

    .contact-form {
        padding: 1.25rem;
    }

    .contact-hero-title {
        font-size: 1.5rem;
    }

    .contact-hero-subtitle {
        font-size: 0.95rem;
    }

    .contact-info-grid {
        gap: 1.5rem;
    }

    .presentation-humaine-text,
    .engagement-item,
    .parcours-text {
        padding: 1.5rem;
    }

    .parcours-number {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .presentation-title {
        font-size: 1.35rem;
    }

    .cta-phone-number {
        font-size: 1.5rem;
    }

    .prestation-card {
        padding: 1.25rem 1rem;
    }

    .prestation-card-title {
        font-size: 1.1rem;
    }

    .prestation-card-desc {
        font-size: 0.9rem;
    }

    body.front-page .sap-section {
        padding: 2rem 0.75rem;
    }

    body.front-page .sap-section-badge {
        padding: 0.75rem 0.9rem;
        gap: 0.6rem;
        margin-bottom: 0.85rem;
    }

    body.front-page .sap-section-badge .agrement-badge-title {
        font-size: 0.85rem;
    }

    body.front-page .sap-section-badge .agrement-badge-text {
        font-size: 0.75rem;
    }

    body.front-page .sap-section .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    body.front-page .sap-section-intro {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }

    body.front-page .sap-avance-intro {
        font-size: 0.8rem;
        margin-bottom: 1.25rem;
    }

    body.front-page .sap-cards {
        gap: 0.5rem;
        align-items: flex-start !important;
    }

    body.front-page .sap-card,
    body.front-page .sap-card-highlight {
        padding: 0.35rem 0.6rem !important;
        min-height: 0 !important;
        border-radius: 10px;
    }

    body.front-page .sap-card-value {
        font-size: 1.1rem !important;
        margin-bottom: 0.15rem;
    }

    body.front-page .sap-card-label {
        font-size: 0.7rem !important;
        line-height: 1.3;
        text-align: center !important;
    }

    body.front-page .sap-card-example {
        margin-bottom: 0.15rem;
    }

    body.front-page .sap-card-from {
        font-size: 0.9rem;
    }

    body.front-page .sap-card-to {
        font-size: 1.05rem;
    }

    body.front-page .sap-card-highlight .sap-card-label {
        font-size: 0.7rem !important;
        line-height: 1.3;
        text-align: center !important;
    }

    body.front-page .sap-astuce {
        padding: 0.7rem 0.85rem;
        border-radius: 10px;
    }

    body.front-page .sap-astuce-text {
        font-size: 0.72rem;
        line-height: 1.45;
    }

    body.front-page .sap-cta {
        padding: 0.55rem 1rem;
        font-size: 0.8125rem;
        max-width: 100%;
    }

    body.front-page .mes-engagements .mes-engagements-grid {
        gap: 1.1rem;
    }

    body.front-page .mes-engagements .engagement-item {
        padding: 1.25rem;
        text-align: center;
    }

    body.front-page .mes-engagements .engagement-icon {
        width: 48px;
        height: 48px;
        margin: 0 auto 0.85rem auto;
    }

    body.front-page .mes-engagements .engagement-item p {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    body.front-page .parcours-step {
        padding: 1.25rem;
        gap: 0.85rem;
    }

    body.front-page .parcours-step .parcours-text p {
        font-size: 0.88rem;
        line-height: 1.55;
    }

    body.front-page .tool-item {
        padding: 1.45rem;
    }

    body.page-template-page-prestation .prestation-card {
        padding: 0.9rem 1rem;
        gap: 0.5rem;
    }

    body.page-template-page-prestation .prestation-card-title {
        font-size: 0.95rem;
    }

    body.page-template-page-prestation .prestation-card-desc {
        display: none !important;
    }

    body.page-template-page-prestation .prestation-card-cta,
    .prestation-section .prestation-grid .prestation-card-cta {
        margin-top: auto;
        padding: 0.6rem 0.9rem;
        font-size: 0.85rem;
        min-height: 46px;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        white-space: normal;
        line-height: 1.35;
        box-sizing: border-box;
    }

    body.page-template-page-prestation .prestation-card-icon {
        width: 36px;
        height: 36px;
    }

    body.page-template-page-prestation .prestation-card-icon svg {
        width: 22px;
        height: 22px;
    }

    body.page-template-page-prestation .tarifs-pourquoi-row {
        padding: 0.5rem 0.7rem;
    }

}

/* Typo tableau horaires (Jour / Horaires) : priorité max, en dernier */
html body.page-template-page-prestation main table,
html body.page-template-page-prestation .tarifs-block table,
html body.page-template-page-prestation .tarifs-section table,
html body.page-template-page-prestation .container table {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
html body.page-template-page-prestation main table th,
html body.page-template-page-prestation main table td,
html body.page-template-page-prestation main table th *,
html body.page-template-page-prestation main table td *,
html body.page-template-page-prestation .tarifs-block table th,
html body.page-template-page-prestation .tarifs-block table td,
html body.page-template-page-prestation .tarifs-section table th,
html body.page-template-page-prestation .tarifs-section table td,
html body.page-template-page-prestation .container table th,
html body.page-template-page-prestation .container table td {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* Page Réservation : pas de coupure de texte, espace réduit sous le header */
.page-reserver-rdv .container {
    overflow: visible;
}
.page-reserver-rdv .mec-wrapper {
    margin-top: 0.75rem;
    padding-left: 0;
    padding-right: 0;
    overflow: visible;
}
.page-reserver-rdv .mec-tunnel,
.page-reserver-rdv .mec-title {
    overflow: visible;
}

/* ========== TÉLÉPHONE : blocs SAP à la taille du texte uniquement — FORCÉ ========== */
@media (max-width: 768px) {
    .sap-section .sap-cards,
    body.front-page .sap-section .sap-cards {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }

    .sap-section .sap-card,
    .sap-section .sap-card.sap-card-highlight,
    .sap-section .sap-card-highlight,
    body.front-page .sap-section .sap-card,
    body.front-page .sap-section .sap-card-highlight {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0.3rem 0.55rem !important;
        min-height: 0 !important;
        height: auto !important;
        text-align: center !important;
        border-radius: 10px;
        box-sizing: border-box !important;
    }

    .sap-section .sap-card .sap-card-value,
    body.front-page .sap-section .sap-card .sap-card-value {
        font-size: 1.15rem !important;
        margin-bottom: 0.15rem !important;
    }

    .sap-section .sap-card .sap-card-label,
    .sap-section .sap-card-highlight .sap-card-label,
    body.front-page .sap-section .sap-card .sap-card-label,
    body.front-page .sap-section .sap-card-highlight .sap-card-label {
        font-size: 0.7rem !important;
        line-height: 1.3 !important;
        text-align: center !important;
        margin: 0 !important;
    }

    .sap-section .sap-card-example,
    body.front-page .sap-section .sap-card-example {
        margin-bottom: 0.15rem !important;
    }

    .sap-section .sap-card-from,
    body.front-page .sap-section .sap-card-from {
        font-size: 0.9rem !important;
    }

    .sap-section .sap-card-to,
    body.front-page .sap-section .sap-card-to {
        font-size: 1.05rem !important;
    }
}

@media (max-width: 480px) {
    .sap-section .sap-card,
    .sap-section .sap-card.sap-card-highlight,
    .sap-section .sap-card-highlight,
    body.front-page .sap-section .sap-card,
    body.front-page .sap-section .sap-card-highlight {
        padding: 0.35rem 0.55rem !important;
        border-radius: 9px;
    }

    .sap-section .sap-card .sap-card-value,
    body.front-page .sap-section .sap-card .sap-card-value {
        font-size: 1.05rem !important;
    }

    .sap-section .sap-card .sap-card-label,
    .sap-section .sap-card-highlight .sap-card-label,
    body.front-page .sap-section .sap-card .sap-card-label,
    body.front-page .sap-section .sap-card-highlight .sap-card-label {
        font-size: 0.68rem !important;
    }

    .sap-section .sap-card-from,
    body.front-page .sap-section .sap-card-from {
        font-size: 0.85rem !important;
    }

    .sap-section .sap-card-to,
    body.front-page .sap-section .sap-card-to {
        font-size: 0.95rem !important;
    }
}

/* ========== Search (tel + ordi) : champ propre, pas de débordement ========== */
.site-header .header-search .search-field,
.site-header .header-search input[type="search"] {
    max-width: 100%;
    -webkit-appearance: none;
    appearance: none;
}

@media (max-width: 768px) {
    .site-header .header-search {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ========== Page résultats de recherche — DA du site (INFORMATH) ========== */
.search-results-main {
    padding: 2.5rem 0 3rem;
}

.search-results-section {
    max-width: 640px;
    margin: 0 auto;
}

.search-results-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #121F59;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.search-results-form-wrap {
    margin-bottom: 1.5rem;
}

.search-results-form-wrap .search-form {
    display: flex;
    width: 100%;
    max-width: 100%;
}

.search-results-form-wrap .search-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(39, 41, 170, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    color: #121F59;
    background: #fff;
    box-sizing: border-box;
}

.search-results-form-wrap .search-field:focus {
    outline: none;
    border-color: #2729AA;
    box-shadow: 0 0 0 3px rgba(39, 41, 170, 0.15);
}

.search-results-form-wrap .search-field::placeholder {
    color: #64748b;
}

.search-results-intro {
    font-size: 1rem;
    color: #475569;
    margin: 0 0 1rem;
}

.search-results-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.search-result-item {
    margin-bottom: 0.75rem;
}

.search-result-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem;
    background: linear-gradient(135deg, rgba(39, 41, 170, 0.06) 0%, rgba(114, 96, 215, 0.04) 100%);
    border: 1px solid rgba(39, 41, 170, 0.15);
    border-radius: 12px;
    color: #2729AA;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-result-link:hover {
    background: linear-gradient(135deg, #2729AA 0%, #7260D7 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(39, 41, 170, 0.3);
}

.search-result-arrow {
    font-size: 1.1rem;
    opacity: 0.8;
}

.search-result-excerpt {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0.35rem 0 0 1.25rem;
    line-height: 1.45;
}

.search-results-empty {
    font-size: 1rem;
    color: #475569;
    padding: 1.25rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #2729AA;
}

.search-results-main .pagination {
    margin-top: 2rem;
}

/* ========== SAP : version ordi inchangée | mobile = UNIQUEMENT bloc compact (plus les 2 grosses cartes) ========== */
.sap-mobile-compact {
    display: none;
}

@media (max-width: 768px) {
    .sap-section .sap-cards--desktop,
    .sap-section .sap-cards,
    body.front-page .sap-section .sap-cards {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .sap-section .sap-cards--desktop .sap-card,
    .sap-section .sap-cards .sap-card,
    .sap-section .sap-card.sap-card-highlight {
        display: none !important;
    }
    .sap-mobile-compact {
        display: flex !important;
        flex-direction: column;
        gap: 0.75rem;
        visibility: visible !important;
        margin-bottom: 1.5rem;
    }
    .sap-mobile-block {
        display: block;
        padding: 0.85rem 1rem;
        background: #fff;
        border: 1px solid rgba(39, 41, 170, 0.12);
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(39, 41, 170, 0.06);
        box-sizing: border-box;
    }
    .sap-mobile-block--example {
        background: linear-gradient(135deg, rgba(39, 41, 170, 0.06) 0%, rgba(248, 250, 252, 1) 100%);
        border-color: rgba(39, 41, 170, 0.1);
    }
    .sap-mobile-block-value {
        display: block;
        font-size: 1.05rem;
        font-weight: 800;
        color: #2729AA;
        margin-bottom: 0.25rem;
    }
    .sap-mobile-block-label {
        display: block;
        font-size: 0.8rem;
        line-height: 1.4;
        color: #404040;
    }
    .sap-mobile-block--example .sap-mobile-block-label {
        color: #334155;
    }
}
