/* ===== DIGITAL TECH NOGENT - CSS PRINCIPAL ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&family=Open+Sans:wght@400;600&display=swap');

:root {
    --blue-dark: #0d1f3c;
    --blue-mid: #162d55;
    --blue: #226fdb;
    --blue-light: #3a8ef5;
    --orange: #f07020;
    --orange-light: #f59030;
    --white: #ffffff;
    --gray-light: #f8f9fb;
    --gray: #667;
    --text-dark: #0d1f3c;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: var(--blue-dark);
    padding: 12px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar-logo svg { width: 48px; height: 54px; }

.navbar-name { display: flex; flex-direction: column; line-height: 1.1; }
.navbar-name .digital { color: var(--white); font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 800; letter-spacing: 2px; }
.navbar-name .tech { color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: 4px; background: var(--orange); padding: 2px 8px; border-radius: 3px; }

.navbar-menu { display: flex; gap: 6px; align-items: center; padding-left: 60px; flex: 1; justify-content: center; }
.navbar-menu a { color: #b0c4e0; font-size: 13px; text-decoration: none; letter-spacing: 0.5px; padding: 6px 12px; border-radius: 6px; transition: var(--transition); white-space: nowrap; }
.navbar-menu a:hover, .navbar-menu a.active { color: var(--white); background: rgba(255,255,255,0.1); }

.navbar-phone { background: var(--orange); color: var(--white); border: none; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none; transition: var(--transition); white-space: nowrap; }
.navbar-phone:hover { background: var(--orange-light); transform: translateY(-1px); }

/* ===== HERO ===== */
.hero {
    background: var(--blue-dark);
    padding: 80px 40px 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 500px;
}

.hero-content { flex: 1; max-width: 560px; }

.hero-badge { display: inline-block; background: rgba(240,112,32,0.15); color: var(--orange); border: 1px solid rgba(240,112,32,0.3); font-size: 11px; font-weight: 700; letter-spacing: 3px; padding: 6px 16px; border-radius: 20px; margin-bottom: 24px; font-family: 'Montserrat', sans-serif; }

.hero-title { color: var(--white); font-family: 'Montserrat', sans-serif; font-size: 42px; font-weight: 900; line-height: 1.15; margin-bottom: 20px; }
.hero-title span { color: var(--orange); }

.hero-subtitle { color: #8aa8cc; font-size: 16px; line-height: 1.7; margin-bottom: 36px; }

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary { background: var(--orange); color: var(--white); border: none; padding: 15px 32px; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none; transition: var(--transition); display: inline-block; }
.btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(240,112,32,0.4); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); padding: 15px 32px; border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; transition: var(--transition); display: inline-block; }
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.hero-cards { flex: 0 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 20px 16px; text-align: center; width: 140px; transition: var(--transition); }
.hero-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }
.hero-card-icon { width: 40px; height: 40px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; border-radius: 10px; }
.hero-card-icon.blue { background: rgba(34,111,219,0.2); }
.hero-card-icon.orange { background: rgba(240,112,32,0.2); }
.hero-card p { color: var(--white); font-size: 12px; font-weight: 600; line-height: 1.3; }

/* ===== STATS BAR ===== */
.stats-bar { background: var(--orange); display: flex; justify-content: center; }
.stat-item { flex: 1; max-width: 220px; text-align: center; padding: 20px 16px; border-right: 1px solid rgba(255,255,255,0.25); }
.stat-item:last-child { border-right: none; }
.stat-number { color: var(--white); font-family: 'Montserrat', sans-serif; font-size: 28px; font-weight: 900; }
.stat-label { color: rgba(255,255,255,0.85); font-size: 12px; letter-spacing: 0.5px; margin-top: 4px; }

/* ===== SECTIONS ===== */
.section { padding: 70px 40px; }
.section-alt { background: var(--gray-light); }
.section-label { text-align: center; color: var(--orange); font-size: 11px; font-weight: 700; letter-spacing: 4px; margin-bottom: 12px; font-family: 'Montserrat', sans-serif; }
.section-title { text-align: center; color: var(--blue-dark); font-family: 'Montserrat', sans-serif; font-size: 30px; font-weight: 800; margin-bottom: 10px; }
.section-sub { text-align: center; color: var(--gray); font-size: 15px; margin-bottom: 50px; }

/* ===== SERVICES GRID ===== */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
.service-card { background: var(--white); border: 1px solid #e0e4ec; border-radius: var(--radius); padding: 30px 20px; text-align: center; transition: var(--transition); text-decoration: none; display: block; }
.service-card:hover { border-color: var(--blue); transform: translateY(-5px); box-shadow: var(--shadow); }
.service-icon { width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; }
.service-icon.blue { background: #e6f1fb; }
.service-icon.orange { background: #fff3eb; }
.service-name { color: var(--blue-dark); font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.service-desc { color: var(--gray); font-size: 13px; line-height: 1.5; }

/* ===== WHY US ===== */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 800px; margin: 0 auto; }
.why-item { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border-radius: 12px; padding: 20px; border: 1px solid #e8ecf0; }
.why-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; }
.why-dot.blue { background: var(--blue); }
.why-dot.orange { background: var(--orange); }
.why-text strong { color: var(--blue-dark); font-size: 14px; font-weight: 700; display: block; margin-bottom: 6px; }
.why-text span { color: var(--gray); font-size: 13px; line-height: 1.5; }

/* ===== CTA BAND ===== */
.cta-band { background: var(--blue-dark); padding: 60px 40px; text-align: center; }
.cta-band h2 { color: var(--white); font-family: 'Montserrat', sans-serif; font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: #8aa8cc; font-size: 15px; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer { background: #060f1e; padding: 24px 40px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer p { color: #4a6080; font-size: 13px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: #4a6080; font-size: 13px; text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--orange); }

/* ===== LANG SWITCHER ===== */
.lang-switcher { display: flex; gap: 6px; margin-left: 16px; }
.lang-btn { background: transparent; border: 1px solid rgba(255,255,255,0.2); color: #b0c4e0; padding: 4px 10px; border-radius: 4px; font-size: 12px; cursor: pointer; transition: var(--transition); text-decoration: none; }
.lang-btn:hover, .lang-btn.active { background: var(--orange); border-color: var(--orange); color: var(--white); }

/* ===== PAGES INTERNES ===== */
.page-hero { background: var(--blue-dark); padding: 50px 40px; text-align: center; }
.page-hero h1 { color: var(--white); font-family: 'Montserrat', sans-serif; font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: #8aa8cc; font-size: 16px; }

.page-content { padding: 60px 40px; max-width: 1100px; margin: 0 auto; }

/* ===== TARIFS ===== */
.tarifs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.tarif-card { background: var(--white); border: 1px solid #e0e4ec; border-radius: var(--radius); overflow: hidden; }
.tarif-header { background: var(--blue-dark); padding: 16px 20px; }
.tarif-header h3 { color: var(--white); font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 700; }
.tarif-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; border-bottom: 1px solid #f0f2f5; }
.tarif-item:last-child { border-bottom: none; }
.tarif-label { font-size: 14px; color: var(--text-dark); }
.tarif-price { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700; color: var(--orange); }

/* ===== CONTACT FORM ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--blue-dark); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 2px solid #e0e4ec; border-radius: 8px; font-size: 14px; font-family: 'Open Sans', sans-serif; transition: var(--transition); background: var(--white); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); }
.form-group textarea { height: 140px; resize: vertical; }
.form-success { background: #e8f5e9; border: 1px solid #4caf50; color: #2e7d32; padding: 16px; border-radius: 8px; margin-bottom: 20px; }
.form-error { background: #fdecea; border: 1px solid #ef5350; color: #c62828; padding: 16px; border-radius: 8px; margin-bottom: 20px; }

.contact-info h3 { font-family: 'Montserrat', sans-serif; font-size: 20px; font-weight: 700; color: var(--blue-dark); margin-bottom: 24px; }
.info-item { display: flex; gap: 16px; margin-bottom: 20px; align-items: flex-start; }
.info-icon { width: 44px; height: 44px; background: var(--blue-dark); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-text strong { display: block; font-size: 14px; font-weight: 700; color: var(--blue-dark); margin-bottom: 4px; }
.info-text span { font-size: 14px; color: var(--gray); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .navbar { padding: 12px 20px; flex-wrap: wrap; gap: 12px; }
    .navbar-menu { display: none; }
    .hero { flex-direction: column; padding: 50px 20px; text-align: center; }
    .hero-cards { justify-content: center; }
    .hero-title { font-size: 30px; }
    .stats-bar { flex-wrap: wrap; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: 1fr; }
    .section { padding: 50px 20px; }
    .tarifs-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; }
    .hero-cards { grid-template-columns: repeat(2, 130px); }
}
