/*
Theme Name: OXIVO Partenaires
Theme URI: https://oxivo.fr
Author: OXIVO
Description: Site vitrine OXIVO destiné aux revendeurs, distributeurs et opérateurs B2B régionaux : portail client en marque blanche, cloud souverain, serveur télécom UCaaS. Thème à blocs, textes modifiables dans Apparence > Éditeur.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: oxivo-partenaires
*/

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 90px; }

/* En-tête */
.ox-header { position: sticky; top: 0; z-index: 50; background: rgba(28,31,74,.94); backdrop-filter: blur(8px); border-bottom: 1px solid #2E3266; }
.ox-header .wp-block-navigation a { color: #C9CCE3; font-size: 15px; }
.ox-header .wp-block-navigation a:hover { color: #4FE0D2; }
.ox-header .wp-block-site-title a { color: #F3F4FA; font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: .04em; }
.ox-header .wp-block-button__link { padding: 12px 20px; font-size: 15px; }

/* Sections */
.ox-section { padding-top: 96px !important; padding-bottom: 96px !important; }
.ox-light { background: #F2F4FB; color: #1C1F4A; }
.ox-light p { color: #474B6E; }
.ox-dark { background: #15173A; border-top: 1px solid #2E3266; border-bottom: 1px solid #2E3266; }
.ox-accent { background: #4FE0D2; color: #1C1F4A; }

.ox-eyebrow { font-size: 14px !important; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #4FE0D2; margin: 0; }
.ox-lead { font-size: 19px; color: #C9CCE3; max-width: 620px; }
.ox-muted { color: #A3A7C8; }

/* Cartes */
.ox-card { border: 1px solid #2E3266; border-radius: 14px; padding: 24px; }
.ox-card p { color: #A3A7C8; font-size: 15px; margin-top: 8px; }
.ox-card h3 { margin: 0; }
.ox-dark .ox-card { background: #1C1F4A; border-color: #1C1F4A; }
.ox-light .ox-card { background: #FFFFFF; border: 0; border-radius: 16px; padding: 28px; }
.ox-light .ox-card p { color: #474B6E; font-size: 16px; }
.ox-accent .ox-card { background: #1C1F4A; color: #F3F4FA; border: 0; border-radius: 16px; padding: 28px; }
.ox-accent .ox-card p { color: #C9CCE3; }
.ox-accent .ox-card .ox-tag { color: #4FE0D2; font-size: 14px; font-weight: 600; margin: 0; }
.ox-accent .ox-card h3 { font-size: 24px; margin-top: 8px; }

/* Boutons */
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: #F3F4FA; border: 1px solid #3D4280; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: #4FE0D2; color: #4FE0D2; }

/* Aperçu du portail */
.ox-mock { background: #15173A; border: 1px solid #2E3266; border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 14px; font-size: 13px; }
.ox-mock-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: #A3A7C8; flex-wrap: wrap; }
.ox-mock-top b { color: #F3F4FA; }
.ox-pill { background: #1E3A55; color: #4FE0D2; padding: 4px 10px; border-radius: 99px; }
.ox-mock-body { display: flex; gap: 14px; }
.ox-mock-nav { width: 140px; flex: none; background: #111330; border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; color: #C9CCE3; }
.ox-mock-nav b { color: #F3F4FA; font-family: 'Space Grotesk', sans-serif; }
.ox-mock-nav .on { color: #4FE0D2; }
.ox-mock-nav .sub { padding-left: 10px; }
.ox-mock-grid { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ox-tile { background: #111330; border-radius: 12px; padding: 14px; }
.ox-tile small { display: block; color: #A3A7C8; font-size: 12px; }
.ox-tile strong { font-family: 'Space Grotesk', sans-serif; font-size: 26px; }
.ox-tile.wide { grid-column: span 2; display: flex; flex-direction: column; gap: 8px; }
.ox-row { display: flex; justify-content: space-between; gap: 8px; }
.ox-ok { color: #5BD89A; } .ox-wait { color: #FFC36B; }
@media (max-width: 520px) { .ox-mock-nav { display: none; } }

/* Formulaire */
.ox-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.ox-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #C9CCE3; }
.ox-form input, .ox-form select, .ox-form textarea { background: #15173A; border: 1px solid #3D4280; border-radius: 10px; padding: 14px; color: #F3F4FA; font: inherit; font-size: 15px; }
.ox-form input:focus, .ox-form select:focus, .ox-form textarea:focus { outline: 2px solid #4FE0D2; outline-offset: 1px; }
.ox-form .full { grid-column: 1 / -1; }
.ox-form button { grid-column: 1 / -1; background: #4FE0D2; color: #1C1F4A; border: 0; border-radius: 12px; padding: 16px; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; }
.ox-form button:hover { background: #8CEDE3; }
.ox-hp { position: absolute !important; left: -9999px !important; }
.ox-msg { grid-column: 1 / -1; padding: 14px 16px; border-radius: 10px; font-size: 15px; }
.ox-msg.ok { background: #13281E; color: #5BD89A; }
.ox-msg.err { background: #2A1714; color: #4FE0D2; }

/* Pied de page */
.ox-footer { border-top: 1px solid #2E3266; font-size: 14px; color: #A3A7C8; }
.ox-footer a { color: #A3A7C8; }
.ox-footer a:hover { color: #4FE0D2; }

/* Carrousel du haut de page */
.ox-hero { padding-top: 56px !important; }
.ox-hero .ox-hero-title { font-size: clamp(38px, 5vw, 56px); line-height: 1.05; }
.ox-carousel { overflow: hidden; }
.ox-carousel.is-ready .ox-track { display: flex; }
.ox-carousel.is-ready .ox-track > * { margin: 0 !important; box-sizing: border-box; padding: 0 2px; }
.ox-car-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.ox-car-dots, .ox-car-arrows { display: flex; gap: 10px; }
.ox-car-dot { height: 44px; padding: 0 4px; border: 0; background: transparent; display: flex; align-items: center; gap: 10px; color: #A3A7C8; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.ox-car-bar { position: relative; overflow: hidden; width: 44px; height: 4px; border-radius: 99px; background: #3D4280; }
.ox-car-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 99px; background: #4FE0D2; }
.ox-car-arrow { width: 44px; height: 44px; border-radius: 99px; border: 1px solid #3D4280; background: transparent; color: #F3F4FA; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.ox-car-arrow:hover { border-color: #4FE0D2; color: #4FE0D2; }
@media (max-width: 600px) { .ox-car-label { display: none; } }
