@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;600;700&display=swap');

:root{
    --blue-main:#2f82c9;
    --blue-dark:#2369a5;
    --blue-light:#5fa8e6;
    --white:#ffffff;
    --text:#2369a5;
}

*{ box-sizing:border-box; }

body{
    margin:0;
    font-family:'Rajdhani',sans-serif;
    background:#ffffff;
    color:var(--text);
}

a{ text-decoration:none; color:inherit; }

.container{
    width:min(1100px,92%);
    margin:auto;
}

/* ── HEADER ── */
header{
    position:sticky;
    top:0;
    background:var(--blue-main);
    padding:16px 0;
    z-index:1000;
}

nav{
    display:flex;
    align-items:center;
}

nav ul{
    display:flex;
    list-style:none;
    gap:8px;
    margin-left:auto;
    padding:0;
    margin-top:0;
    margin-bottom:0;
}

nav ul li a{
    color:white;
    font-size:18px;
    font-weight:600;
    white-space:nowrap;
    padding:6px 4px;
}

nav ul li a:hover{ color:#dceeff; }
nav ul li a.active{ border-bottom: 2px solid white; }

.logo img{
    height:80px;
    width:auto;
    display:block;
}

/* ── MENU HAMBURGER ── */
.menu-toggle{
    font-size:30px;
    cursor:pointer;
    color:white;
    padding:10px;
    z-index:3000;
    display:none;
}

.side-menu{
    position:absolute;
    top:80px;
    left:20px;
    background:white;
    border-radius:10px;
    padding:20px;
    display:none;
    box-shadow:0 5px 20px rgba(0,0,0,.2);
    z-index:9999;
}

.side-menu.active{ display:block; }

.side-menu a{
    display:block;
    padding:10px 0;
    color:#2369a5;
    font-weight:bold;
}

/* ── BOUTONS ── */
.btn{
    padding:12px 18px;
    border-radius:10px;
    display:inline-block;
    font-family:'Rajdhani',sans-serif;
    font-size:18px;
    font-weight:600;
    cursor:pointer;
    transition:.2s;
}

.btn-primary{
    background:#2050b8;
    color:white !important;
}

.btn-primary:hover{ background:#1a3e9a; }

.btn-secondary{
    border:2px solid var(--blue-main);
    color:var(--blue-main);
}

.btn-secondary:hover{
    background:var(--blue-main);
    color:white;
}

/* ── HERO ── */
.hero{
    padding:80px 0;
    background:white;
}

.hero-grid{
    display:grid;
    grid-template-columns:1fr 500px;
    gap:60px;
    align-items:center;
}

.hero-content h1{
    font-size:64px;
    line-height:1.1;
    max-width:700px;
    color:var(--blue-main);
    font-weight:700;
}

.hero-content p{
    font-size:24px;
    margin:30px 0;
    max-width:650px;
    color:var(--blue-dark);
}

.hero-image img{
    width:100%;
    height:550px;
    object-fit:cover;
    border-radius:20px;
    display:block;
}

.hero-buttons{
    display:flex;
    gap:20px;
    margin-top:30px;
}

/* ── BARRE RECHERCHE ── */
.hero-search{
    margin-top:40px;
    background:#F8FAFC;
    border-radius:20px;
    padding:25px 30px;
    display:flex;
    align-items:center;
    gap:20px;
    max-width:900px;
}

.search-icon{ font-size:36px; color:#f97316; }

.hero-search input{
    border:none;
    outline:none;
    font-size:32px;
    width:100%;
    color:#111827;
    background:transparent;
    font-weight:600;
    font-family:'Rajdhani',sans-serif;
}

.hero-search input::placeholder{ color:#cbd5e1; }

/* ── TAGS POPULAIRES ── */
.popular-searches{ margin-top:50px; }
.popular-searches h3{ margin-bottom:20px; }

.search-tags{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
}

.search-tags span{
    border:2px solid #475569;
    padding:12px 22px;
    border-radius:40px;
    transition:.3s;
    cursor:pointer;
    font-size:16px;
}

.search-tags span:hover{
    background:#2563eb;
    border-color:#2563eb;
    color:white;
}

/* ── SECTIONS ── */
section{ padding:60px 0; }

/* ── CARTES SERVICES (index) ── */
.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.card{
    background:#1F2937;
    color:white;
    padding:24px;
    border-radius:16px;
    border:1px solid #374151;
    font-size:18px;
    font-weight:600;
    transition:.3s;
}

.card:hover{
    border-color: var(--blue-main);
    transform:translateY(-3px);
}

/* ── SERVICES PAGE ── */
.services-section{ padding:60px 0; }

.services-title{
    font-size:60px;
    margin-bottom:50px;
    color:var(--blue-dark);
}

.services-title span{
    color:inherit;
}
.services-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.service-card{
    background:#1f2937;
    border-radius:20px;
    overflow:hidden;
    transition:all .4s ease;
    cursor:pointer;
}

.service-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.service-card h3{
    padding:25px 25px 10px;
    font-size:28px;
    color:var(--blue-light);
}

.service-card p{
    padding:0 25px 25px;
    color:#e0e2e4;
    line-height:1.6;
    font-size:17px;
}

.service-card:hover,
.service-card.active{
    transform:scale(1.03);
    border:2px solid var(--blue-main);
    box-shadow:0 0 25px rgba(47,130,201,.35);
}

/* ── PAGE HEADER ── */
.page-header{ padding:60px 0 30px; }
.page-header h1{ font-size:52px; color:var(--blue-dark); margin-bottom:10px; }
.page-header p{ font-size:20px; color:#555; }

/* ── RECONDITIONNE ── */
.products-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
    gap:24px;
    padding-bottom:60px;
}

.product-card{
    background:#1f2937;
    border-radius:16px;
    overflow:hidden;
    transition:.3s;
    border:2px solid transparent;
}

.product-card:hover{
    border-color:var(--blue-main);
    transform:translateY(-5px);
    box-shadow:0 8px 30px rgba(47,130,201,.25);
}

.product-card img{
    width:100%;
    height:200px;
    object-fit:cover;
}

.product-info{ padding:20px; }
.product-info h3{ color:var(--blue-light); font-size:22px; margin:0 0 8px; }
.product-info p{ color:#9ca3af; font-size:15px; margin:0 0 14px; line-height:1.5; }
.product-price{ color:white; font-size:26px; font-weight:700; }
.product-badge{
    display:inline-block;
    background:var(--blue-main);
    color:white;
    font-size:12px;
    font-weight:700;
    padding:4px 10px;
    border-radius:20px;
    margin-bottom:10px;
    text-transform:uppercase;
}

/* ── TÉMOIGNAGES ── */
.temoignages-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
    gap:28px;
    padding-bottom:60px;
}

.temoignage-card{
    background:#1f2937;
    border-radius:16px;
    padding:30px;
    border:2px solid #374151;
    transition:.3s;
}

.temoignage-card:hover{
    border-color:var(--blue-main);
    box-shadow:0 6px 24px rgba(47,130,201,.2);
}

.stars{ color:#f59e0b; font-size:22px; margin-bottom:14px; }
.temoignage-card blockquote{
    color:#e0e2e4;
    font-size:18px;
    line-height:1.6;
    margin:0 0 20px;
    font-style:italic;
}

.temoignage-author{
    display:flex;
    align-items:center;
    gap:14px;
}

.avatar-circle{
    width:48px;
    height:48px;
    background:var(--blue-main);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    flex-shrink:0;
}

.author-info h4{ color:white; margin:0 0 2px; font-size:18px; }
.author-info span{ color:#9ca3af; font-size:15px; }

/* ── ACTUALITES ── */
.actualites-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
    gap:28px;
    padding-bottom:60px;
}

.actu-card{
    background:#1f2937;
    border-radius:16px;
    overflow:hidden;
    transition:.3s;
    border:2px solid transparent;
}

.actu-card:hover{
    border-color:var(--blue-main);
    transform:translateY(-5px);
    box-shadow:0 8px 30px rgba(47,130,201,.2);
}

.actu-card img{
    width:100%;
    height:200px;
    object-fit:cover;
}

.actu-info{ padding:24px; }
.actu-date{ color:#9ca3af; font-size:14px; margin-bottom:8px; }
.actu-info h3{ color:var(--blue-light); font-size:22px; margin:0 0 10px; }
.actu-info p{ color:#d1d5db; font-size:16px; line-height:1.6; margin:0; }
.actu-tag{
    display:inline-block;
    background:rgba(47,130,201,.25);
    color:var(--blue-light);
    font-size:13px;
    font-weight:700;
    padding:4px 12px;
    border-radius:20px;
    margin-bottom:12px;
    text-transform:uppercase;
}

/* ── A PROPOS ── */
.about-hero{ padding:70px 0 40px; }
.about-hero h1{ font-size:56px; color:var(--blue-dark); margin-bottom:14px; }
.about-hero h1 span{ color:#2563eb; }
.about-hero p{ font-size:21px; color:#555; max-width:650px; }

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
    padding:60px 0;
}

.about-grid img{
    width:100%;
    height:420px;
    object-fit:cover;
    border-radius:20px;
}

.about-text h2{ font-size:40px; color:var(--blue-dark); margin-bottom:20px; }
.about-text p{ font-size:19px; color:#444; line-height:1.7; margin-bottom:16px; }

.stats-section{
    padding:70px 0;
    background:var(--blue-main);
    text-align:center;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.stat-item h3{ font-size:54px; color:white; font-weight:700; margin:0; }
.stat-item p{ font-size:19px; color:#dceeff; margin-top:6px; }

.values-section{ padding:60px 0; background:#f8fafc; }
.values-section h2{ font-size:42px; color:var(--blue-dark); margin-bottom:40px; text-align:center; }

.values-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.value-card{
    background:white;
    border-radius:16px;
    padding:32px 28px;
    border:2px solid #e2e8f0;
    text-align:center;
    transition:.3s;
}

.value-card:hover{
    border-color:var(--blue-main);
    box-shadow:0 8px 30px rgba(47,130,201,.15);
    transform:translateY(-4px);
}

.value-card .icon{ font-size:48px; margin-bottom:16px; }
.value-card h3{ font-size:24px; color:var(--blue-dark); margin-bottom:12px; }
.value-card p{ font-size:17px; color:#555; line-height:1.6; }

.team-section{ padding:60px 0; }
.team-section h2{ font-size:42px; color:var(--blue-dark); margin-bottom:40px; }

.team-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
}

.team-card{
    background:#1f2937;
    border-radius:16px;
    overflow:hidden;
    text-align:center;
    transition:.3s;
}

.team-card:hover{ transform:translateY(-5px); }

.team-card .avatar-big{
    width:100%;
    height:180px;
    background:linear-gradient(135deg,var(--blue-main),var(--blue-dark));
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:64px;
}

.team-card h3{ color:var(--blue-light); font-size:20px; padding:16px 16px 4px; }
.team-card p{ color:#9ca3af; font-size:15px; padding:0 16px 20px; }

/* ── CONTACT ── */
.contact-hero{ padding:70px 0 40px; }
.contact-hero h1{ font-size:56px; color:var(--blue-dark); margin-bottom:14px; }
.contact-hero h1 span{ color:#2563eb; }
.contact-hero p{ font-size:21px; color:#555; max-width:650px; }

.contact-layout{
    display:grid;
    grid-template-columns:1fr 420px;
    gap:60px;
    padding:50px 0 80px;
    align-items:start;
}

.contact-form-box{
    background:#1f2937;
    border-radius:20px;
    padding:40px;
}

.contact-form-box h2{
    font-size:32px;
    color:var(--blue-light);
    margin-bottom:28px;
    margin-top:0;
}

.form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

.form-group{ margin-bottom:18px; }

.form-group label{
    display:block;
    color:#9ca3af;
    font-size:15px;
    margin-bottom:6px;
    font-weight:600;
}

.form-group input,
.form-group textarea,
.form-group select{
    width:100%;
    padding:13px 16px;
    margin:0;
    background:#111827;
    color:white;
    border:1px solid #374151;
    border-radius:10px;
    font-family:'Rajdhani',sans-serif;
    font-size:17px;
    transition:border-color .2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus{
    outline:none;
    border-color:var(--blue-main);
}

.form-group textarea{ resize:vertical; min-height:130px; }
.form-group select option{ background:#111827; }

.form-submit{ margin-top:10px; }

.form-submit button{
    width:100%;
    padding:16px;
    background:var(--blue-main);
    color:white;
    border:none;
    border-radius:12px;
    font-family:'Rajdhani',sans-serif;
    font-size:20px;
    font-weight:700;
    cursor:pointer;
    transition:background .2s;
}

.form-submit button:hover{ background:var(--blue-dark); }

.contact-info{ display:flex; flex-direction:column; gap:24px; }

.info-card{
    background:white;
    border:2px solid #e2e8f0;
    border-radius:16px;
    padding:28px 26px;
    display:flex;
    align-items:flex-start;
    gap:18px;
    transition:.3s;
}

.info-card:hover{
    border-color:var(--blue-main);
    box-shadow:0 6px 24px rgba(47,130,201,.15);
}

.info-icon{ font-size:36px; flex-shrink:0; margin-top:2px; }
.info-text h3{ font-size:20px; color:var(--blue-dark); margin:0 0 6px; }
.info-text p, .info-text a{ font-size:17px; color:#555; line-height:1.5; margin:0; }
.info-text a:hover{ color:var(--blue-main); }

.social-contact-box{
    background:var(--blue-main);
    border-radius:16px;
    padding:28px 26px;
    color:white;
}

.social-contact-box h3{ font-size:20px; margin:0 0 16px; }

.social-contact-links{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
}

.social-contact-links a{
    display:flex;
    align-items:center;
    gap:8px;
    background:rgba(255,255,255,.15);
    border-radius:10px;
    padding:10px 16px;
    color:white;
    font-size:16px;
    font-weight:600;
    transition:.2s;
}

.social-contact-links a:hover{ background:rgba(255,255,255,.28); }
.social-contact-links img{ width:22px; height:22px; object-fit:contain; }

.map-section{ padding:0 0 80px; }
.map-section h2{ font-size:36px; color:var(--blue-dark); margin-bottom:24px; }

.map-container{
    border-radius:20px;
    overflow:hidden;
    border:2px solid #e2e8f0;
    height:380px;
}

.map-container iframe{
    width:100%;
    height:100%;
    border:none;
    display:block;
}

/* ── FORMULAIRE CONTACT (base) ── */
input,textarea,select{
    font-family:'Rajdhani',sans-serif;
}

/* ── TOAST ── */
#toast{
    display:none;
    position:fixed;
    bottom:30px;
    right:30px;
    background:#22c55e;
    color:white;
    padding:16px 28px;
    border-radius:12px;
    font-size:18px;
    font-weight:600;
    z-index:9999;
    box-shadow:0 4px 20px rgba(0,0,0,.2);
    animation: slideIn .3s ease;
}

@keyframes slideIn{
    from{ transform:translateY(20px); opacity:0; }
    to{ transform:translateY(0); opacity:1; }
}

/* ── FOOTER ── */
footer{
    background:var(--blue-main);
    color:white;
    padding:30px 0;
    margin-top:40px;
}

.footer-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.social-links{
    display:flex;
    align-items:center;
    gap:18px;
}

.social-links img{
    width:32px;
    height:32px;
    object-fit:contain;
    transition:.3s;
    display:block;
}

.social-links img:hover{ transform:scale(1.15); }

/* ── RESPONSIVE TABLETTE ── */
@media(max-width:900px){
    .services-grid{ grid-template-columns:1fr 1fr; }
    .values-grid{ grid-template-columns:1fr 1fr; }
    .stats-grid{ grid-template-columns:1fr 1fr; gap:30px; }
    .contact-layout{ grid-template-columns:1fr; }
    .about-grid{ grid-template-columns:1fr; gap:30px; }
    .about-grid img{ height:280px; }
}

/* ── RESPONSIVE MOBILE ── */
@media(max-width:768px){
    .menu-toggle{ display:block; }

    nav ul{ display:none; }

    .logo img{ height:70px; }

    .hero-grid{
        display:flex;
        flex-direction:column;
    }

    .hero-image{ order:1; }
    .hero-content{ order:2; }

    .hero-content h1{
        font-size:42px;
        line-height:1.1;
    }

    .hero-content p{ font-size:20px; }

    .hero-buttons{ flex-direction:column; }
    .hero-buttons a{ width:100%; text-align:center; }

    .hero-search{ padding:20px; }
    .hero-search input{ font-size:22px; }
    .hero-image img{ height:280px; }

    .services-grid{ grid-template-columns:1fr; }
    .services-title{ font-size:38px; }

    .footer-content{
        flex-direction:column;
        gap:15px;
        text-align:center;
    }

    .social-links{
        gap:10px;
        justify-content:center;
    }

    .social-links img{ width:28px; height:28px; }

    .about-hero h1{ font-size:38px; }
    .values-grid{ grid-template-columns:1fr; }
    .stats-grid{ grid-template-columns:1fr 1fr; }
    .contact-hero h1{ font-size:38px; }
    .form-row{ grid-template-columns:1fr; }
    .contact-form-box{ padding:28px 20px; }
    .page-header h1{ font-size:38px; }
}
