/*
Theme Name: Marie Tech - Maintenance & Réseau Informatique
Theme URI: https://mariesn.com/
Author: Marie SN
Author URI: https://mariesn.com/
Description: Thème WordPress sur-mesure pour Marie SN (Maintenance Réseau Informatique & Électronique). Design moderne, réactif et optimisé pour le SEO.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: marie-tech
Tags: custom-logo, tech, enterprise, responsive-layout, dark-mode-accents, custom-menu, featured-images
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #0052CC;
  --primary-hover: #0040A8;
  --primary-dark: #0A192F;
  --primary-light: #00D2FF;
  --secondary: #00B4D8;
  --accent-red: #E60000;
  --bg-dark: #0B132B;
  --bg-card-dark: #1C2541;
  --bg-light: #F8FAFC;
  --surface: #FFFFFF;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-white: #FFFFFF;
  --border-color: #E2E8F0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 82, 204, 0.12);
  --shadow-lg: 0 20px 35px -10px rgba(0, 82, 204, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 82, 204, 0.08);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 16px;
}

.section-desc {
  max-width: 680px;
  font-size: 1.1rem;
  margin-left: auto;
  margin-right: auto;
}

.text-center { text-align: center; }
.text-white { color: var(--text-white) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-red { color: var(--accent-red) !important; }

/* Container */
.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-padding {
  padding: 90px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #003B99 100%);
  color: var(--text-white) !important;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #0044B3 0%, #002C73 100%);
}

.btn-secondary {
  background: var(--surface);
  color: var(--primary-dark) !important;
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-light);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--text-white) !important;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: var(--surface);
  color: var(--primary-dark) !important;
  border-color: var(--surface);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* Top Bar */
.top-bar {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-slogan {
  font-weight: 600;
  color: #00D2FF;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Navigation Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
}

.brand-logo img {
  max-height: 55px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--primary-dark);
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #07132B 0%, #0A192F 60%, #002B66 100%);
  color: var(--text-white);
  padding: 120px 0 140px;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('assets/images/hero_tech.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  mix-blend-mode: overlay;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 210, 255, 0.15);
  border: 1px solid rgba(0, 210, 255, 0.3);
  padding: 8px 18px;
  border-radius: 50px;
  color: var(--primary-light);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title {
  color: var(--text-white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-title span {
  background: linear-gradient(90deg, #00D2FF, #38BDF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 35px;
  max-width: 600px;
}

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

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

.hero-card-preview {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.hero-image-box {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.hero-image-box img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-card-preview:hover img {
  transform: scale(1.03);
}

.hero-stat-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--surface);
  color: var(--primary-dark);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 15px;
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.hero-stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.2;
}

/* Services Grid Section */
.services-section {
  background-color: #F1F5F9;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(0, 82, 204, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrapper {
  background: var(--primary);
  color: var(--text-white);
  transform: rotate(5deg);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.service-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-features-list {
  margin-bottom: 20px;
  padding-top: 15px;
  border-top: 1px dashed var(--border-color);
}

.service-features-list li {
  font-size: 0.88rem;
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.service-features-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
}

.service-link {
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
}

.service-link:hover {
  gap: 10px;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-images-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  position: relative;
}

.about-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.about-img-2 {
  margin-top: 40px;
}

.about-experience-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--primary-dark);
  color: var(--text-white);
  padding: 20px 25px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--surface);
}

.about-experience-badge h3 {
  color: #00D2FF;
  font-size: 2.2rem;
  margin: 0;
}

.about-experience-badge p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  margin: 0;
  font-weight: 600;
}

.about-content-list {
  margin: 25px 0 35px;
}

.about-content-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.about-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 82, 204, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

/* Stats Counter Section */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #002B66 100%);
  color: var(--text-white);
  padding: 70px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.8rem;
  color: #00D2FF;
  margin-bottom: 6px;
  font-weight: 800;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  font-weight: 600;
}

/* Contact CTA Section */
.cta-banner {
  background: linear-gradient(135deg, #0052CC 0%, #002C73 100%);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  box-shadow: var(--shadow-lg);
}

.cta-banner-text h2 {
  color: var(--text-white);
  margin-bottom: 10px;
}

.cta-banner-text p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* Contact Page & Section Styling */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
}

.contact-info-card {
  background: var(--surface);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 82, 204, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.contact-details p, .contact-details a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form-card {
  background: var(--surface);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  background-color: var(--bg-light);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--surface);
  box-shadow: 0 0 0 4px rgba(0, 82, 204, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

/* Footer */
.main-footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: var(--text-white);
  font-size: 1.15rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-light);
  border-radius: 2px;
}

.footer-logo img {
  max-height: 60px;
  margin-bottom: 20px;
}

.footer-text {
  font-size: 0.9rem;
  line-height: 1.6;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #00D2FF;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
}

/* Floating WhatsApp / Quick Contact */
.floating-contact {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: var(--transition);
}

.floating-btn:hover {
  transform: scale(1.1);
  color: white;
}

.floating-btn.whatsapp {
  background: #25D366;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-menu {
    position: fixed;
    top: 85px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 85px);
    background: var(--surface);
    flex-direction: column;
    padding: 40px 20px;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.active {
    left: 0;
  }
  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .top-bar-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
}
