@charset "utf-8";
/* CSS Document */

/* --- Styles Généraux & Réinitialisation --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8fafc;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* --- Header / Navigation & Menu Burger --- */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.logo-text h1 {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    line-height: 1.1;
}

.logo-text h1 span {
    color: #2563eb;
}

.tagline {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #64748b;
    font-weight: 600;
}

/* Navigation sur PC */
nav a {
    text-decoration: none;
    color: #475569;
    margin-left: 20px;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
}

nav a:hover {
    color: #2563eb;
}

.btn-cta {
    background-color: #2563eb;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
}

/* Bouton Burger (Caché sur PC par défaut) */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: 0.3s;
}

/* --- Version Mobile (Écrans de moins de 768px) --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Affiche le burger sur mobile */
    }

    .nav-menu {
        display: none; /* Masque la liste des liens par défaut */
        flex-direction: column;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 25px 0;
        text-align: center;
        gap: 15px;
    }

    /* Classe activée au clic via le JavaScript */
    .nav-menu.active {
        display: flex;
    }
}

/* --- Section Hero (Bannière) --- */
.hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.55) 0%, rgba(37, 99, 235, 0.45) 100%), url('../images/banniere.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
    padding: 120px 20px 140px 20px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero h2 {
    font-size: 44px;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    max-width: 720px;
    margin: 0 auto 35px auto;
    color: #f1f5f9;
    background: rgba(15, 23, 42, 0.6);
    padding: 15px 25px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-main {
    display: inline-block;
    background-color: #ffffff;
    color: #2563eb;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.btn-main:hover {
    background-color: #f1f5f9;
    transform: translateY(-3px);
}

.btn-secondary {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* --- Sections Générales --- */
section {
    padding: 90px 0;
}

section h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
    color: #0f172a;
    font-weight: 800;
}

.subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 50px;
    font-size: 16px;
}

.section-badge {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #2563eb;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-badge.center {
    text-align: center;
}

/* --- Section À propos --- */
.about-section {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.about-text h3 {
    text-align: left;
    margin-bottom: 20px;
}

.about-text .lead {
    font-size: 18px;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 15px;
}

.about-text p {
    color: #475569;
    margin-bottom: 15px;
    font-size: 16px;
}

.about-card-quote {
    background: linear-gradient(135deg, #f0fdf4 0%, #eff6ff 100%);
    border-left: 4px solid #2563eb;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
}

.about-card-quote blockquote {
    font-style: italic;
    color: #1e293b;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.quote-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.quote-author {
    font-weight: bold;
    color: #2563eb;
}

.quote-location {
    color: #64748b;
}

/* --- Grilles et Cartes (Services & Tarifs) --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.card {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 14px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.08);
    border-color: #bfdbfe;
}

.card-icon {
    font-size: 32px;
    margin-bottom: 20px;
    background: #eff6ff;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.card h4, .price-card h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1e293b;
    font-weight: 700;
}

.price-setup {
    font-size: 24px;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 15px;
}

.price-setup span {
    font-size: 14px;
    color: #64748b;
    font-weight: normal;
}

/* --- Section Tarifs --- */
.tarifs {
    background-color: #f1f5f9;
}

.price-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 14px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid #e2e8f0;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.price-card.standard-grey {
    border: 1px solid #cbd5e1;
}

.price-card.popular {
    border: 2px solid #2563eb;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1);
}

.plan-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    background: #e2e8f0;
    color: #475569;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.plan-tag.highlight {
    background: #dbeafe;
    color: #2563eb;
}

.price-card .price {
    font-size: 40px;
    font-weight: 800;
    color: #0f172a;
    margin: 10px 0 5px 0;
}

.price-card .price span {
    font-size: 16px;
    color: #64748b;
    font-weight: normal;
}

.price-year {
    font-size: 13px;
    color: #2563eb;
    font-weight: 700;
    margin-bottom: 20px;
    background: #eff6ff;
    padding: 6px;
    border-radius: 6px;
}

.price-card ul {
    list-style: none;
    margin-top: 25px;
    text-align: left;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.price-card ul li {
    margin-bottom: 12px;
    color: #475569;
    font-size: 14px;
}

.price-card ul li::before {
    content: "✓ ";
    color: #22c55e;
    font-weight: bold;
    font-size: 16px;
    margin-right: 5px;
}

/* --- Section Testeur de Nom de Domaine --- */
.checker-section {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.checker-box {
    max-width: 750px;
    margin: 0 auto;
    background: #f8fafc;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.02);
}

.search-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.search-bar input {
    flex: 1;
    min-width: 220px;
    padding: 14px 18px;
    font-size: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
    background: #fff;
}

.search-bar input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-bar select {
    padding: 14px 18px;
    font-size: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    outline: none;
}

.search-bar button {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-bar button:hover {
    background-color: #1d4ed8;
}

.result-box {
    margin-top: 20px;
    text-align: center;
}

.alert {
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
}

.alert.success {
    background-color: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
}

.alert.taken {
    background-color: #fef2f2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

.btn-small {
    display: inline-block;
    margin-top: 12px;
    background-color: #2563eb;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-small:hover {
    background-color: #1d4ed8;
}

/* --- Section Contact --- */
.contact-section {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card-item {
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.contact-card-item h4 {
    font-size: 16px;
    color: #1e293b;
    margin-bottom: 6px;
    font-weight: 700;
}

.contact-card-item p, .contact-card-item a {
    color: #475569;
    font-size: 15px;
    text-decoration: none;
}

.contact-card-item a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.contact-action-box {
    margin-top: 10px;
}

.contact-image-box {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
}

.contact-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.contact-image-box:hover .contact-img {
    transform: scale(1.03);
}

/* --- Footer --- */
footer {
    background: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 40px 0;
    font-size: 14px;
    border-top: 1px solid #1e293b;
}
