/* ==========================================================================
   FIXPHONE — Direction « Express »
   Feuille de style de refonte, chargée APRES le theme Porto (demo-14).
   Elle ne remplace aucun fichier du theme : elle le rehabille.
   Pour tout annuler : retirer la balise <link> qui appelle ce fichier.
   25/08/2026
   ========================================================================== */

:root {
    --fx-rouge:        #e11b22;
    --fx-rouge-fonce:  #a71217;
    --fx-marine:       #0f1b2d;
    --fx-marine-clair: #24334c;
    --fx-gris-texte:   #5a6577;
    --fx-gris-fond:    #f4f5f7;
    --fx-gris-bord:    #eceef1;
    --fx-blanc:        #ffffff;

    --fx-titre: 'Archivo Black', 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    --fx-texte: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   1. Typographie generale
   -------------------------------------------------------------------------- */

body,
.header,
.footer,
button,
input,
select,
textarea {
    font-family: var(--fx-texte);
}

h1, h2, h3,
.title,
.widget-title,
.product-title,
.page-title {
    font-family: var(--fx-titre);
    letter-spacing: -0.03em;
    text-wrap: pretty;
}

h1.title,
h2.title,
.title {
    color: var(--fx-marine);
}

/* --------------------------------------------------------------------------
   2. Barre du haut : marine, numeros lisibles
   -------------------------------------------------------------------------- */

.header-14 .header-top {
    background: var(--fx-marine);
    border-bottom: 0;
    padding: 0;
}

.header-14 .header-top .container {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Les trois numeros : blancs, espaces, sans debordement */
.header-14 .header-top .header-left > a[href^="tel:"] {
    color: var(--fx-blanc) !important;
    font-family: var(--fx-texte);
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    margin-right: 22px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.header-14 .header-top .header-left > a[href^="tel:"]:hover {
    color: var(--fx-rouge) !important;
}

.header-14 .header-top .header-left > a[href^="tel:"] i {
    font-size: 15px !important;
    color: var(--fx-rouge);
}

/* Lien « Service Technique » du mobile */
.header-14 .header-top .header-left a.diss {
    margin-left: 0 !important;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex !important;
    align-items: center;
    gap: 9px;
}

.header-14 .header-top a,
.header-14 .header-top .top-menu a {
    font-size: 13.5px;
    font-weight: 500;
}

.header-14 .header-top .top-menu a:hover {
    color: var(--fx-rouge) !important;
}

.header-14 .header-top .social-icon,
.header-14 .header-top .trip {
    opacity: 0.85;
    transition: opacity 0.15s ease;
}

.header-14 .header-top .trip:hover {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   3. Barre principale : blanche, nette
   -------------------------------------------------------------------------- */

.header-14 .header-middle {
    background: var(--fx-blanc);
    border-bottom: 1px solid var(--fx-gris-bord);
    box-shadow: none;
}

/* Logo de remplacement : le fichier d'origine a disparu du serveur,
   on affiche un logotype dessine en CSS + SVG. */
.fx-wordmark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.fx-wordmark-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--fx-rouge);
    flex-shrink: 0;
}

.fx-wordmark-text {
    font-family: var(--fx-titre);
    font-size: 22px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--fx-marine);
    white-space: nowrap;
}

.footer .fx-wordmark-text {
    color: var(--fx-blanc);
}

/* Navigation principale.
   Le menu depassait la largeur de l ecran sur les portables 1280 px : la page
   entiere glissait d une centaine de pixels sur le cote. Il se replie desormais
   sur deux lignes plutot que de pousser la page. */
.header-14 .main-nav .menu {
    flex-wrap: wrap;
}

.header-14 .main-nav .menu > li > a {
    font-family: var(--fx-texte);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.01em;
    color: var(--fx-marine);
    text-transform: none;
}

.header-14 .main-nav .menu > li:hover > a,
.header-14 .main-nav .menu > li.active > a {
    color: var(--fx-rouge);
}

.header-14 .main-nav .menu > li.active > a {
    border-bottom: 2px solid var(--fx-rouge);
}

/* Recherche */
.header-14 .header-search .form-control,
.header-14 .header-search input.form-control {
    border-radius: 0;
    border: 2px solid var(--fx-gris-bord);
    font-size: 14px;
    height: 46px;
}

.header-14 .header-search .btn,
.header-14 .header-search button {
    border-radius: 0;
    background: var(--fx-marine);
    border-color: var(--fx-marine);
    color: var(--fx-blanc);
}

/* Panier */
.header-14 .cart-dropdown .dropdown-toggle,
.header-14 .cart-dropdown i {
    color: var(--fx-marine);
}

.header-14 .cart-dropdown .cart-count {
    background: var(--fx-rouge);
    border-radius: 0;
    font-family: var(--fx-texte);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   4. Boutons : anguleux, francs
   -------------------------------------------------------------------------- */

.btn,
.btn-primary,
.btn-outline-primary,
.btn-dark,
input[type="submit"],
button[type="submit"] {
    border-radius: 0 !important;
    font-family: var(--fx-texte);
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-primary,
input[type="submit"],
button[type="submit"] {
    background-color: var(--fx-rouge);
    border-color: var(--fx-rouge);
    color: var(--fx-blanc);
}

.btn-primary:hover,
.btn-primary:focus,
input[type="submit"]:hover,
button[type="submit"]:hover {
    background-color: var(--fx-rouge-fonce);
    border-color: var(--fx-rouge-fonce);
    color: var(--fx-blanc);
}

.btn-dark {
    background-color: var(--fx-marine);
    border-color: var(--fx-marine);
}

.btn-dark:hover {
    background-color: var(--fx-marine-clair);
    border-color: var(--fx-marine-clair);
}

/* --------------------------------------------------------------------------
   5. Produits : cartes nettes, prix en evidence
   -------------------------------------------------------------------------- */

.product-default {
    border: 2px solid var(--fx-gris-bord);
    border-radius: 0;
    transition: border-color 0.15s ease;
}

.product-default:hover {
    border-color: var(--fx-marine);
    box-shadow: none;
}

.product-default figure {
    background: var(--fx-gris-fond);
}

.product-default .product-title,
.product-default .product-title a {
    font-family: var(--fx-texte);
    font-weight: 500;
    font-size: 14.5px;
    line-height: 1.45;
    color: var(--fx-gris-texte);
    letter-spacing: 0;
}

.product-default .product-title a:hover {
    color: var(--fx-marine);
}

.product-default .price-box .product-price,
.product-default .product-price {
    font-family: var(--fx-titre);
    font-size: 20px;
    color: var(--fx-marine);
    letter-spacing: -0.02em;
}

.product-default .price-box .old-price {
    font-family: var(--fx-texte);
    color: #a9b1bd;
    font-weight: 400;
}

.product-default .price-box .product-price.special-price,
.product-default .special-price {
    color: var(--fx-rouge);
}

/* Pastilles « New » / « Promo » */
.product-label,
.product-default .product-label {
    border-radius: 0;
    font-family: var(--fx-texte);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 11px;
    background: var(--fx-rouge);
}

/* --------------------------------------------------------------------------
   6. Titres de section
   -------------------------------------------------------------------------- */

h1.title,
h2.title {
    font-size: 34px !important;
    line-height: 1.1;
    text-transform: uppercase;
}

@media screen and (max-width: 767px) {
    h1.title,
    h2.title {
        font-size: 26px !important;
    }
}

/* --------------------------------------------------------------------------
   7. Pied de page : marine plein, sans image de fond manquante
   -------------------------------------------------------------------------- */

.footer {
    /* L'image images/footer.png a disparu du serveur : aplat marine a la place */
    background-image: none !important;
    background-color: var(--fx-marine) !important;
    color: #b9c2cf;
}

.footer .widget-title {
    font-family: var(--fx-titre);
    color: var(--fx-blanc);
    font-size: 15px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.footer a,
.footer .widget-list a {
    color: #b9c2cf;
    font-size: 14px;
}

.footer a:hover,
.footer .widget-list a:hover {
    color: var(--fx-rouge);
}

.footer p,
.footer span {
    font-size: 14px;
    line-height: 1.65;
}

.footer .footer-bottom {
    border-top: 1px solid var(--fx-marine-clair);
}

.footer .social-icon {
    border-radius: 0;
    background: var(--fx-marine-clair);
    color: var(--fx-blanc);
}

.footer .social-icon:hover {
    background: var(--fx-rouge);
    color: var(--fx-blanc);
}

.footer .form-control {
    border-radius: 0;
    border: 1px solid var(--fx-marine-clair);
    background: var(--fx-marine-clair);
    color: var(--fx-blanc);
}

.footer .form-control::placeholder {
    color: #7d8899;
}

/* --------------------------------------------------------------------------
   8. Bouton WhatsApp flottant
   -------------------------------------------------------------------------- */

a.float {
    border-radius: 0;
    background-color: #25d366;
    box-shadow: 0 4px 14px rgba(15, 27, 45, 0.25);
    transition: transform 0.15s ease;
}

a.float:hover {
    transform: translateY(-2px);
    background-color: #1da851;
}

/* --------------------------------------------------------------------------
   9. Mobile : rien ne doit deborder
   -------------------------------------------------------------------------- */

@media screen and (max-width: 575px) {
    html,
    body {
        overflow-x: hidden;
    }

    .header-14 .header-top .container {
        min-height: 40px;
        justify-content: center;
    }

    .header-14 .header-top .header-left {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .fx-wordmark-text {
        font-size: 18px;
    }

    .fx-wordmark-mark {
        width: 32px;
        height: 32px;
    }

    /* Cibles tactiles : jamais moins de 44px */
    .btn,
    .header-14 .cart-dropdown .dropdown-toggle,
    .mobile-menu-toggler {
        min-height: 44px;
    }
}

/* ==========================================================================
   ETAPE 2 — PAGE D ACCUEIL
   ========================================================================== */

/* --------------------------------------------------------------------------
   10. Bandeau d accroche
   -------------------------------------------------------------------------- */

.fx-hero {
    background: var(--fx-rouge);
    padding: 58px 0 54px;
    margin-bottom: 0;
}

.fx-hero-title {
    font-family: var(--fx-titre);
    font-size: 60px;
    line-height: 0.94;
    letter-spacing: -0.035em;
    color: var(--fx-blanc);
    margin: 0 0 20px;
    text-wrap: pretty;
}

.fx-hero-text {
    font-size: 18px;
    line-height: 1.55;
    font-weight: 500;
    color: #ffe3e4;
    max-width: 560px;
    margin: 0 0 28px;
}

.fx-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.fx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 17px 28px;
    font-family: var(--fx-texte);
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    border-radius: 0;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.fx-btn-blanc {
    background: var(--fx-blanc);
    color: var(--fx-marine);
}

.fx-btn-blanc:hover {
    background: var(--fx-marine);
    color: var(--fx-blanc);
}

.fx-btn-ligne {
    border: 2px solid var(--fx-blanc);
    color: var(--fx-blanc);
    padding: 15px 26px;
}

.fx-btn-ligne:hover {
    background: var(--fx-blanc);
    color: var(--fx-rouge);
}

@media screen and (max-width: 991px) {
    .fx-hero-title { font-size: 44px; }
    .fx-hero-text  { font-size: 16.5px; }
}

@media screen and (max-width: 575px) {
    .fx-hero       { padding: 38px 0 34px; }
    .fx-hero-title { font-size: 34px; }
    .fx-hero-actions { flex-direction: column; }
    .fx-btn        { width: 100%; }
}

/* --------------------------------------------------------------------------
   11. Tuiles de categories
   Les trois images assets/images/ban1..3.png ont disparu du serveur : les
   tuiles sont desormais peintes en CSS, plus aucune image a fournir.
   -------------------------------------------------------------------------- */

.intro-banners .banner {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 118px;
    overflow: hidden;
    background: var(--fx-marine);
    transition: transform 0.15s ease;
}

.intro-banners .banner:nth-child(1) { background: var(--fx-marine); }
.intro-banners .banner:nth-child(2) { background: var(--fx-marine-clair); }
.intro-banners .banner:nth-child(3) { background: var(--fx-rouge); }

.intro-banners .banner:hover {
    transform: translateY(-2px);
}

.intro-banners .banner > a {
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    min-height: 118px;
    padding: 20px 24px;
}

.intro-banners .banner .banner-content {
    position: static;
    padding: 0;
    width: 100%;
}

.intro-banners .banner .banner-title {
    font-family: var(--fx-titre);
    font-size: 21px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0;
}

.intro-banners .banner .banner-title a {
    color: var(--fx-blanc) !important;
}

/* --------------------------------------------------------------------------
   12. Icones des services
   Les quatre PNG (Diagnostic, Rapidite, Garantie, Protection) ont disparu du
   serveur : remplacees par des icones dessinees, aucune image a fournir.
   -------------------------------------------------------------------------- */

.fx-icone-service {
    width: 76px;
    height: 76px;
    margin-top: 20px;
    color: var(--fx-rouge);
    display: block;
}

#valeurs .item {
    padding-bottom: 26px;
}

#valeurs .info h5 {
    font-family: var(--fx-titre);
    font-size: 16px;
    letter-spacing: -0.01em;
    color: var(--fx-marine);
    text-transform: uppercase;
    margin-bottom: 10px;
}

#valeurs .info p {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--fx-gris-texte);
}

#valeurs .info p a {
    color: var(--fx-rouge);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   13. Bandeau « Comment ca marche »
   L image de fond images/macphoneboutic-1.png a disparu : aplat marine.
   -------------------------------------------------------------------------- */

.fx-bandeau-marine {
    background-image: none !important;
    background-color: var(--fx-marine) !important;
    padding: 54px 0;
}

.fx-bandeau-marine .video-banner-title {
    font-family: var(--fx-titre);
    letter-spacing: -0.03em;
    color: var(--fx-blanc);
}

.fx-bandeau-marine .btn-video {
    background: var(--fx-rouge);
    border-radius: 0;
    color: var(--fx-blanc);
}

.fx-bandeau-marine .btn-video:hover {
    background: var(--fx-rouge-fonce);
}
