/*
Theme Name: sossmartphone
Theme URI: https://www.jeremieberton.fr
Author: jberton
Author URI: 
Description: Thème SOS Smartphone
Version: 1.0
*/

/*GENERAL*/
:root {
	--btn-color: rgb(242,105,33);
	--btn-color-hover: rgb(233,71,10);
	--header-height: 80px; /*pour gérer les liens d'ancrage avec le sticky menu*/
  }

/*  Chargement des polices Google */
@font-face {
  font-family: 'Aeonik';
  src: url('/wp-content/themes/sossmartphone/assets/fonts/Aeonik/Aeonik-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Aeonik';
  src: url('/wp-content/themes/sossmartphone/assets/fonts/Aeonik/Aeonik-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/* Masquer le titre des pages */
.post-title {
    display: none;
}

/* Empecher les liens d’ancrage de défiler derrière le sticky menu */
html {
	scroll-padding-top: 7rem;
  }

body {
	font-family: "Aeonik" !important;
	font-size: 16px;
	margin:0;
	padding:0;
	border:0;
	height: 100% !important;
	width: 100%;
}

h1 {
	font-weight: 400 !important;
	font-size: 3rem;
	margin:0;
	padding:0;
}

h2 {
	font-weight: 600 !important;
    font-size: 2rem;
    color: var(--btn-color);
    padding: 20px;
}

a {
    text-decoration: none;
}

.page-container {
	margin: auto;
}

.page {
	margin: auto !important;
}

/* Mise en forme du bouton action */
.btn-action {
	color: white;
	background-color: var(--btn-color);
	border-radius: 7px;
    border: none;
	padding: 10px 15px;
  	font-size: 16px;
    box-shadow: 4px 5px 10px 0px rgba(236, 144, 109, 0.45);
    cursor: pointer;
	transition: all .5s;
	-webkit-transition: all .5s;
}

.btn-action:hover {
    background-color: var(--btn-color-hover);
}

/* Mise en forme du séparateur */
.separateur {
    border: solid 3px var(--btn-color);
    width: 150px;
    margin-top: 50px;
}

/* ===== HEADER GLOBAL ===== */
header {
    width: 100%;
    background: #111;
    position: sticky;
    top: 0;
    z-index: 999;
}

#navbar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ===== LOGO ===== */
.logo img {
    height: 100px;
    width: auto;
    display: block;
}

/* ===== SELECTEUR BOUTIQUE ===== */
.select-boutique {
    position: relative;
    margin-left: 20px;
}

.select-boutique select {
    appearance: none; /* enlève le style natif */
    -webkit-appearance: none;
    -moz-appearance: none;

    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 8px 40px 8px 15px;

    font-size: 14px;
    font-weight: 500;
    color: #333;

    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover */
.select-boutique select:hover {
    border-color: #000;
}

/* Focus */
.select-boutique select:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

/* Flèche custom */
.select-boutique::after {
    content: "▼";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #333;
    pointer-events: none;
}

/* Eviter que le numéro de tél passe sur 2 lignes */
#rappel {
    white-space: nowrap;
}

/* ===== MENU ===== */
.menu__list {
    list-style: none;
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.menu__list li {
    position: relative;
    text-align: center;
}

.menu__list a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 4px;
    transition: all 0.25s ease;
}

/* Hover */
.menu__list a:hover {
    background: #2a2a2a;
    color: #fff;
}

/* Item actif : texte orange uniquement */
.menu__list .current-menu-item > a,
.menu__list .current_page_item > a {
    color: rgb(242,105,33);
    background: transparent;
}

/* Item actif + hover : fond gris */
.menu__list .current-menu-item > a:hover,
.menu__list .current_page_item > a:hover {
    background: #2a2a2a;
}



/* ===== BURGER (mobile) ===== */
.burger {
    display: none;
}

.line {
	height: 3px;
	background-color: white;
	display: block;
	margin: auto;
	margin-block: 2px;
	width: 20px;
}

/* MENU Navigation bar - Animation du menu burger */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* MENU Navigation bar - Ajouter une toile de fond au menu mobile lorsqu’il est actif.  */
.menu-backdrop {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9; /* Ensure it's below the nav-links but above other content */
}

.fixed-position {
    overflow: hidden;
    height: 100%;
}


/* MENU Navigation bar - Responsive */
@media screen and (max-width: 768px) {
    nav{
		justify-content: space-around;
	}
	
	.navbar-nav {
        position: absolute;
        right: 0;
        height: 100vh;
        top: 110px;
        background-color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
		justify-content: flex-start;
		gap:20px;
        width: 100%;
        transform: translateX(-770px);
        transition: transform 0.5s ease-in-out;
		padding-top: 30px;
    }

    .navbar-nav li {
        opacity: 0;
    }

	.navbar-nav li a {
		color: black;
		font-size: 30px;
	}

    .burger {
        display: block;
        cursor: pointer;
    }

    .burger div {
        width: 25px;
        height: 3px;
        margin: 5px;
        transition: all 0.3s ease;
    }

    .nav-active {
        transform: translateX(0);
    }

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

    .navbar-nav li {
        animation: navLinkFade 0.5s ease forwards 0.5s;
    }

	.line-top-footer{
		border-top:0;
	}

}

@media screen and (max-width: 1200px) {
    .btn-contact-accueil {
        display: none;
    }
}



/* ===== FOOTER GLOBAL ===== */
.site-footer {
    background: #0f0f0f;
    color: #fff;
    padding: 60px 0 20px;
    font-size: 15px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
}

/* ===== COLONNES ===== */
.footer-col h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col p {
    margin-bottom: 8px;
    line-height: 1.5;
}

.footer-col a {
    color: #fff;
    text-decoration: none;
}

.footer-col a:hover {
    color: rgb(242,105,33);
}

/* ===== LABEL QUALIREPAR : HALO FLOUTÉ ===== */
.label-repar {
    display: block;
    max-width: 180px;
    margin-top: 20px;
}

/* ===== MAP ===== */
.footer-map iframe {
    width: 100%;
    height: 180px;
    border: 0;
    border-radius: 6px;
    margin-bottom: 20px;
}

/* ===== RÉSEAUX ===== */
.footer-socials {
    display: flex;
    gap: 14px;
}

.footer-socials img {
    width: 50px;
	height: 50px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.footer-socials a {
    display: inline-block;
}

.footer-socials a:hover img {
    transform: scale(1.15);
}

/* ===== LIENS RÉPARATIONS ===== */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    color: #fff;
    font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* ===== BAS FOOTER ===== */
.footer-bottom {
    border-top: 1px solid #222;
    margin-top: 40px;
    padding: 20px 24px 0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 14px;
    color: #ccc;
}

.footer-bottom a {
    color: #ccc;
}

.footer-bottom a:hover {
    color: rgb(242,105,33);
}

/* ===== BOUTONS ACTION ===== */
.footer-actions {
    display: flex;
    gap: 12px;
}

.footer-actions img {
    width: 50px;
	height: 50px;
    object-fit: contain;
    display: block;
}

/* ===== ICÔNES FOOTER : ZOOM AU HOVER ===== */
.footer-actions a img {
    height: auto;
    transition: transform 0.25s ease;
}

.footer-actions a:hover img {
    transform: scale(1.12);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* ===== FIL D'ARIANE PAGES RÉPARATIONS ===== */
.breadcrumb-reparations {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    margin-bottom: 30px;
}

.breadcrumb-reparations a {
    text-decoration: none;
    color: #777;
}

.breadcrumb-reparations .active {
    background: #ff6a00;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
}

.breadcrumb-reparations span {
    color: #bbb;
}

/* ===== FIL D'ARIANE BARRE DE PROGRESSION ===== */
.repair-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0;
    position: relative;
}

.repair-progress::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e5e5e5;
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-weight: 600;
    transition: 0.3s;
}

.step span {
    font-size: 14px;
    color: #777;
}

/* Étapes validées */
.step.done .circle {
    background: #28a745;
    color: #fff;
}

.step.done span {
    color: #28a745;
}

/* Étape active */
.step.active .circle {
    background: #ff6a00;
    color: #fff;
}

.step.active span {
    color: #ff6a00;
    font-weight: 600;
}

/* Lien cliquable */
.step a {
    text-decoration: none;
    display: block;
    color: inherit;
}

.step.done .circle {
    cursor: pointer;
}

/* ===== ACCUEIL SLIDER ===== */
.elementor-element-d83720d {
    cursor: pointer;
}

/* ===== GESTION AFFICHAGE 2 CARROUSSELS D'IMAGES ===== */
/* Par défaut (desktop) */
.elementor-element-d83720d {
    display: block;
}

.elementor-element-127e2cb {
    display: none;
}

/* Mobile */
@media (max-width: 768px) {
    .elementor-element-d83720d {
        display: none;
    }

    .elementor-element-127e2cb {
        display: block;
    }
}

/* ===== PAGE REPARATION GLOBAL ===== */

.repair-header {
    text-align: center;
    margin-bottom: 40px;
}

.repair-header h1 {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 10px;
}

.repair-subtitle {
    color: #666;
    font-size: 16px;
}

/* ===== GRID ===== */

.repair-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
    gap: 25px;
    align-items: center;
}

/* ===== CARTE ===== */

.repair-card {
    text-decoration: none;
    display: block;
}

.repair-card-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 20px;
    padding: 10px 12px 10px;
    background: #ffffff;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #888787;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    height: 180px;
}

.repair-card-inner:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border-color: var(--btn-color);
}

/* ===== IMAGE ===== */

.repair-card-image {
    width: 100%;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.repair-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ===== LABEL ===== */

.repair-card-label {
    display: block;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    color: #222;
    letter-spacing: 0.5px;
}

/* ===== Bouton OK popup confirmation rdv ===== */
button {
    background: #000;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;
    transition: all 0.25s ease;

    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Hover */
button:hover {
    background: #222;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* Click */
button:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

/* ===== MESSAGE VIDE ===== */

.no-result {
    text-align: center;
    padding: 40px;
    color: #777;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 480px) {
    .repair-grid {
        grid-template-columns: repeat(2, 1fr);
        width: 90%;
    }
}

/* ===== BARRE RECHERCHE MARQUE ===== */

.gm-marque-question {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto 40px;
}

.search-container i.fa {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

.search-container input[type="search"] {
    width: 100%;
    padding: 14px 18px 14px 65px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 16px;
    font-family: "Aeonik";
    transition: all 0.25s ease;
    background: #f7f6f6;
}

.search-container input[type="search"]:focus {
    border-color: var(--btn-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(242,105,33,0.15);
}

.fa-search:before {
    content: url("../images/rechercher-modele-icone.png");
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 5px;
}

.fauxinput {
    display: none;
}

/* ===== PAGE REPARATION SECTION PANNE ===== */
/* ===== HEADER TOP ===== */

.modele-header-top {
    text-align: center;
    margin-bottom: 20px;
}

.reduction-img {
    max-width: 340px;
    margin-bottom: 20px;
}

.modele-header-top h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    padding: 0;
}

.modele-subtitle {
    font-size: 14px;
    color: #777;
    margin-top: 8px;
}


/* ===== LISTE REPARATIONS ===== */

.conteneur-liste-reparations {
    max-width: 800px;
    margin: auto;
}

.titre-modele {
    background-color: var(--btn-color);
    padding: 10px 20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    text-align: center;
    margin-bottom: 10px;
}

.titre-modele .modele-main-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.liste-reparations {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reparation-card {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    background: #fff;
}

.reparation-card:hover {
    border-color: var(--btn-color);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* état actif */
.reparation-card.active {
    border: 2px solid var(--btn-color);
    background: #f9fcff;
}

/* checkbox custom */
.reparation-card input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 6px;
    margin-right: 16px;
    position: relative;
    cursor: pointer;
}

.reparation-card input[type="checkbox"]:checked {
    background: var(--btn-color);
    border-color: var(--btn-color);
}

.reparation-card input[type="checkbox"]:checked::after {
    content: "✓";
    color: white;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
}

.rep-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rep-header {
    display: flex;
    align-items: center;
}

.rep-left {
    margin-left: 10px;
}

.rep-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.rep-name {
    font-weight: 600;
    font-size: 16px;
}

.rep-text {
    margin-left: 10px;
    flex: 1;
}

.rep-price {
    margin-left: auto;
    font-weight: 700;
    white-space: nowrap;
}

.rep-infos {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
}

.total-section {
    margin-top: 40px;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.total-inline {
    font-size: 18px;
}

.total-inline strong {
    color: var(--btn-color);
    font-size: 20px;
    margin-left: 5px;
}

.btn-main-rdv {
    padding: 12px 20px;
}

.bonus-mention {
    margin-top: 15px;
    font-size: 13px;
    color: #777;
    line-height: 1.5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.bonus-mention a {
    color: var(--btn-color);
    text-decoration: underline;
}

.bonus-mention a:hover {
    opacity: 0.8;
}

/* ===== STICKY BAR ===== */

.sticky-devis {
    position: fixed;
    height: 90px;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -4px 8px rgba(0,0,0,0.2);
    z-index: 999;
}

.sticky-left {
    display: flex;
    align-items: center;
    gap: 14px;        /* espace entre image et titre */
    margin-left: 20px; /* espace à gauche de la barre */
}

.sticky-image-wrapper {
    max-width: 65px;  /* largeur maximale comme ton exemple */
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-image-wrapper img {
    width: 100%;      /* largeur s'adapte au conteneur */
    height: auto;     /* garde les proportions naturelles */
    border-radius: 8px;
}


.sticky-title {
    font-weight: 600;
    font-size: 15px;
}

.sticky-right {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-right: 40px;
}

.btn-rdv {
    padding: 15px;
}

.sticky-total {
    font-size: 16px;
    font-weight: 500;
}

.sticky-total strong {
    font-size: 18px;
    color: var(--btn-color);
}

/* ===== RESPONSIVE PAGE SELECTION PANNE ===== */

@media (max-width: 768px) {

    .sticky-devis {
        flex-direction: column;
        gap: 12px;
        padding: 14px 20px;
        text-align: center;
    }

    .sticky-right {
        flex-direction: column;
        gap: 10px;
    }

    .sticky-left {
        display: none;
    }

    .total-section {
        flex-direction: column;
        gap: 0;
        padding: 12px 16px;
        box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
    }

    .total-inline {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 4px;
    }

    .total-label {
        font-size: 14px;
    }

    #total-price-main {
        font-size: 22px;
        font-weight: 700;
    }

    .total-section .btn-main-rdv {
        margin-top: 8px;
        padding: 14px;
        font-size: 16px;
    }

}



/* ===== POPUP PROTECTIONS ECRAN ===== */

.protections-popup{
    position:fixed;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    z-index:9999;
    background:#fff;
    border-radius:14px;
    padding:20px;
    width:340px;
    max-width:90vw;
    display:none;
    box-shadow:0 20px 60px rgba(0,0,0,.25);
}

.popup-inner{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.popup-title{
    font-weight:600;
    font-size:16px;
    margin-bottom:6px;
    text-align: center;
}

.popup-option{
    display:flex;
    align-items:center;
    gap:12px;
}

.popup-option img{
    width:60px;
    height:60px;
    object-fit:contain;
    border-radius:8px;
}

.popup-btn{
    flex:1;
    border:none;
    background-color: var(--btn-color);
    color: white;
    padding:10px 12px;
    border-radius:8px;
    cursor:pointer;
    font-size:14px;
    text-align:center;
    transition: all .5s;
}

.popup-btn:hover{
    background-color: var(--btn-color-hover);
}

.popup-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    z-index:9998;
    display:none;
}

/* ===== Réparations Etape 5 Intervention ===== */

.repair-step {
    transition: opacity 0.3s ease;
}

.hidden-step {
    display: none;
}

#step-5 .container {
    max-width: 1100px;
    margin: auto;
}

/* RECAPITULATIF étape 5 */

.recap-intervention {
    background: #f7f7f7;
    padding: 10px 30px 30px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.recap-intervention h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.recap-line {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 8px;
    font-size: 15px;
    color: #333;
}

.recap-total {
    margin-top: 15px;
    font-size: 18px;
    font-weight: 600;
    color: var(--btn-color);
}

/* FORMULAIRE étape 5 */

.form-intervention {
    padding: 20px 40px;
    background: #f7f7f7;
    border-radius: 6px;
}

.form-intervention h3 {
    margin-top: 10px;
}

.form-row {
    margin-bottom: 20px;
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.form-actions {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}

.form-intervention h3 {
    margin-bottom: 25px;
}

input[type="date"] {
    cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
}

.form-row label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 500;
}

.form-row label span {
    color: red;
}

.form-intervention input,
.form-intervention select,
.form-intervention textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
}

.form-intervention textarea {
    min-height: 120px;
    resize: vertical;
}

/* GRILLE 2 COLONNES étape 5 */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* BOUTON ENVOYER étape 5 */

.form-actions {
    margin-top: 25px;
}

.form-intervention button[type="submit"] {
    background: var(--btn-color);
    color: #fff;
    border: none;
    padding: 14px 35px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s ease;
}

.form-intervention button[type="submit"]:hover {
    background: var(--btn-color-hover);
}

/* RESPONSIVE étape 5 */

@media (max-width: 768px) {

    .two-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-intervention {
        padding: 0 30px;
    }

    .form-intervention input,
    .form-intervention select,
    .form-intervention textarea {
        width: 90%;
    }

    .form-actions {
        flex-direction: column;
        gap: 15px;
    }

    .form-intervention button[type="submit"] {
        width: 200px;
    }

}


/* ===== VENTES TELEPHONES + ACCESSOIRES ===== */

.catalogue-container{
    max-width:1200px;
    margin:auto;
    padding:40px;
}

.catalogue-container h1 {
    color: var(--btn-color);
}

.filters{
    display:flex;
    gap:20px;
    margin-top:30px;
    margin-bottom:30px;
}

.filters select{
    padding:10px;
    border:1px solid #ddd;
    border-radius:6px;
    cursor: pointer;
}

.filters select:hover, .filters select:active {
    border-color: var(--btn-color);
}

.catalogue-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:25px;
}

.telephone-card{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    text-decoration:none;
    color:black;
    border:1px solid #eee;
    padding:15px;
    border-radius:8px;
    transition:.2s;
}

.telephone-card:hover{
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
    transform:translateY(-4px);
    border-color: var(--btn-color);
}

.telephone-card img{
    width:100%;
    height:160px;
    object-fit:contain;
    margin-bottom:10px;
}

.phone-marque {
    font-size: 14px;
    color: #777;
    margin: 2px 0 2px 0;
}

.phone-stockage {
    font-size: 14px;
    color: #555;
    margin: 2px 0;
}

.telephone-card h3 {
    font-size: 16px;
    margin: 4px 0;
}

.price {
    color: var(--btn-color);
    font-weight: bold;
    font-size: 18px;
    margin: 4px 0 0 0;
}

.phone-image-wrapper{
    position:relative;
}

.badge-occasion{
    position:absolute;
    top:0px;
    right:-10px;
    background:#e53935;
    color:#fff;
    font-size:13px;
    font-weight:500;
    padding:4px 8px;
    border-radius:4px;
}

/* PAGE TELEPHONES BLOC TEXTE SOUS CATALOGUE */
.catalogue-textes{
    margin:60px auto;
    font-size:16px;
    line-height:1.7;
    color:#333;
}

.catalogue-textes p{
    margin-bottom:20px;
}

.catalogue-textes strong{
    font-weight:600;
}

.catalogue-textes h2{
    margin-top:25px;
    margin-bottom:10px;
    font-size:22px;
    color: var(--btn-color);
    padding: 0;
}

/* PAGE ACCESSOIRES BLOC TEXTE SOUS CATALOGUE */
.personnalisation-coque{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:60px;
    margin:80px auto;
}

.personnalisation-text{
    flex:1;
}

.personnalisation-text h2{
    color: var(--btn-color);
    font-size:26px;
    margin-bottom:20px;
    padding: 0;
}

.personnalisation-text p{
    font-size:16px;
    line-height:1.7;
    margin-bottom:15px;
    color:#333;
}

.personnalisation-image{
    flex:1;
    text-align:center;
}

.personnalisation-image img{
    max-width:320px;
    border-radius:15px;
    box-shadow:0 4px 12px rgba(0,0,0,0.15);
}

@media (max-width: 768px){

.personnalisation-coque{
flex-direction:column;
gap:30px;
padding:0;
}

.personnalisation-image{
width:100%;
text-align:center;
}

.personnalisation-image img{
max-width:260px;
width:100%;
}

.personnalisation-text{
width:100%;
}

.personnalisation-text h2{
font-size:22px;
}

}

/* PAGE TELEPHONE SINGLE + ACCESSOIRE SINGLE */

.phone-single{
    max-width:1100px;
    margin:auto;
    padding:40px;
}

.phone-single-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
}

.phone-image img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.description{
    margin-top:20px;
    line-height:1.6;
}

@media(max-width:900px){

    .catalogue-grid{
    grid-template-columns:repeat(2,1fr);
    }

    .phone-single-grid{
    grid-template-columns:1fr;
    }

}

/* Page Accueil - Formulaire de contact */
#contact {
	margin: auto;
	margin-top: 60px;
	background-color: var(--bg-section);
}

.text-contact {
	padding-top: 10px;
	padding-bottom: 20px;
	text-align: center;
}

.wpcf7-not-valid-tip {
	margin-bottom: -20px;
}
.cf7sr-recaptcha > .wpcf7-not-valid-tip {
	margin-bottom: 0px;
}

.wpcf7-form{
	display: flex;
	flex-direction: column;
    gap: 15px;
}

.wpcf7-form label{
	margin-top: 10px;
	margin-bottom: 20px;
	text-align: left;
}

.wpcf7-form-control-wrap{
	display: flex;
	flex-direction: column;
	margin-top: 5px;
}

.wpcf7-form-control-wrap input {
	width: 350px;
	height: 40px;
    border: none;
    border-radius: 5px;
	padding: 10px 15px;
	font-size: 16px;
	color: black;
    background-color: rgb(243,243,243);
}

.wpcf7-form-control-wrap textarea {
	width: 350px;
	height: 210px;
    border: none;
	border-radius: 5px;
	padding: 10px 15px;
	font-size: 17px;
	color: black;
    background-color: rgb(243,243,243);
}

.wpcf7-submit {
	margin-top: 20px;
	height: 50px;
	width: 255px;
}

.wpcf7-response-output{
	margin-top: -20px !important;
}