/*
Theme Name: Gematech
Theme URI: https://gematech.be
Author: Gematech
Author URI: https://gematech.be
Description: Thème professionnel pour Gematech – dépannage informatique pour particuliers.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: gematech
*/

/* =====================================================
   RESET & BASE
===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0f1b2d;
  --navy-mid: #1a2e47;
  --blue: #1e5fa8;
  --blue-light: #2d7dd2;
  --sky: #e8f3ff;
  --accent: #f0a500;
  --text: #1a1a2e;
  --muted: #5a6a7e;
  --border: #dce6f0;
  --white: #ffffff;
  --off: #f8fafd;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

/* =====================================================
   NAVIGATION
===================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 5vw;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

.site-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 36px; height: 36px;
  background: var(--navy);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.logo-text {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.logo-text span { color: var(--blue); }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  transition: color .2s;
}
.site-nav a:hover { color: var(--navy); }
.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 500;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--blue) !important; }

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: .3s;
}

/* =====================================================
   BOUTONS
===================================================== */
.btn-primary {
  display: inline-block;
  background: var(--navy); color: var(--white);
  padding: 14px 28px; border-radius: 8px;
  text-decoration: none; font-weight: 500; font-size: 0.95rem;
  transition: background .2s, transform .15s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--blue); transform: translateY(-1px); color: var(--white); }

.btn-outline {
  display: inline-block;
  color: var(--navy); padding: 14px 28px; border-radius: 8px;
  text-decoration: none; font-weight: 500; font-size: 0.95rem;
  border: 1.5px solid var(--border);
  transition: border-color .2s, transform .15s;
}
.btn-outline:hover { border-color: var(--navy); transform: translateY(-1px); }

/* =====================================================
   SECTIONS COMMUNES
===================================================== */
section { padding: 90px 5vw; }
.container { max-width: 1140px; margin: 0 auto; }

.section-label {
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 0.8rem;
}
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--navy); letter-spacing: -0.03em;
  line-height: 1.15; margin-bottom: 1.2rem;
}
.section-sub {
  color: var(--muted); font-size: 1rem;
  max-width: 520px; line-height: 1.8; font-weight: 300;
}

/* =====================================================
   HERO
===================================================== */
.hero-section {
  padding: 140px 5vw 100px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sky); color: var(--blue);
  padding: 6px 14px; border-radius: 100px;
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.03em; margin-bottom: 1.5rem;
}
.hero-tag::before {
  content: ''; width: 6px; height: 6px;
  background: var(--blue); border-radius: 50%; display: inline-block;
}
.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.1; color: var(--navy);
  letter-spacing: -0.03em; margin-bottom: 1.4rem;
}
.hero h1 em { font-style: italic; color: var(--blue); }
.hero-desc {
  font-size: 1.05rem; color: var(--muted);
  max-width: 460px; margin-bottom: 2.5rem;
  line-height: 1.8; font-weight: 300;
}
.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

.hero-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem;
  box-shadow: 0 8px 40px rgba(15,27,45,0.08);
  position: relative;
}
.hero-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 1.5rem; }
.status-dot {
  width: 10px; height: 10px; background: #22c55e; border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
}
.status-text { font-size: 0.82rem; color: #22c55e; font-weight: 500; }
.hero-service-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.hero-service-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 8px;
  background: var(--off); font-size: 0.88rem; color: var(--text);
}
.hero-service-icon {
  width: 32px; height: 32px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.si-blue { background: var(--sky); }
.si-amber { background: #fef3cd; }
.si-green { background: #d1fae5; }
.hero-badge {
  position: absolute; bottom: -16px; left: -20px;
  background: var(--accent); color: var(--navy);
  border-radius: 12px; padding: 12px 18px;
  font-size: 0.82rem; font-weight: 500;
  box-shadow: 0 4px 20px rgba(240,165,0,0.3);
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
}

/* =====================================================
   TRUST BAR
===================================================== */
.trust-bar {
  background: var(--navy); padding: 20px 5vw;
  display: flex; align-items: center; justify-content: center;
  gap: 3rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.75); font-size: 0.85rem;
}

/* =====================================================
   SERVICES
===================================================== */
#services { background: var(--off); }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem; margin-top: 3.5rem;
}
.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 2rem;
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(15,27,45,0.08); }
.service-icon {
  width: 48px; height: 48px; background: var(--sky);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 1.2rem;
}
.service-icon.amber { background: #fef3cd; }
.service-icon.green { background: #d1fae5; }
.service-icon.red   { background: #ffe4e6; }
.service-icon.purple{ background: #ede9fe; }
.service-card h3 { font-size: 1.05rem; font-weight: 500; color: var(--navy); margin-bottom: 0.6rem; }
.service-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; font-weight: 300; }

/* =====================================================
   COMMENT ÇA MARCHE
===================================================== */
#comment { background: var(--white); }
.steps {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0; margin-top: 3.5rem; position: relative;
}
.steps::before {
  content: ''; position: absolute;
  top: 28px; left: calc(12.5% + 20px); right: calc(12.5% + 20px);
  height: 1px; background: var(--border); z-index: 0;
}
.step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 1rem; }
.step-num {
  width: 56px; height: 56px; background: var(--white);
  border: 2px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Serif Display', serif; font-size: 1.3rem; color: var(--blue);
  margin-bottom: 1.2rem; position: relative; z-index: 1; transition: border-color .2s;
}
.step:hover .step-num { border-color: var(--blue); }
.step h4 { font-size: 0.95rem; font-weight: 500; color: var(--navy); margin-bottom: 0.5rem; }
.step p { font-size: 0.82rem; color: var(--muted); line-height: 1.6; font-weight: 300; }

/* =====================================================
   TARIFS
===================================================== */
#tarifs { background: var(--off); }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3.5rem; }
.pricing-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 2rem; transition: transform .2s;
}
.pricing-card:hover { transform: translateY(-3px); }
.pricing-card.featured { background: var(--navy); border-color: var(--navy); }
.price-label {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem;
}
.pricing-card.featured .price-label { color: rgba(255,255,255,0.5); }
.price {
  font-family: 'DM Serif Display', serif; font-size: 2.8rem;
  color: var(--navy); line-height: 1; margin-bottom: 0.3rem;
}
.pricing-card.featured .price { color: var(--white); }
.price sup { font-size: 1.2rem; vertical-align: super; }
.price sub { font-size: 0.9rem; font-family: 'DM Sans', sans-serif; font-weight: 300; }
.price-note { font-size: 0.8rem; color: var(--muted); margin-bottom: 1.5rem; }
.pricing-card.featured .price-note { color: rgba(255,255,255,0.45); }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 1.8rem; }
.price-features li { font-size: 0.88rem; color: var(--text); display: flex; align-items: center; gap: 10px; }
.pricing-card.featured .price-features li { color: rgba(255,255,255,0.8); }
.check {
  width: 18px; height: 18px; background: var(--sky);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pricing-card.featured .check { background: rgba(255,255,255,0.15); }
.btn-price {
  width: 100%; padding: 13px; border-radius: 8px; font-size: 0.9rem;
  font-weight: 500; text-align: center; cursor: pointer; border: none;
  text-decoration: none; display: block; transition: .2s;
}
.btn-price-outline { background: transparent; border: 1.5px solid var(--border); color: var(--navy); }
.btn-price-outline:hover { border-color: var(--navy); }
.btn-price-white { background: var(--white); color: var(--navy); }
.btn-price-white:hover { background: var(--sky); }

/* =====================================================
   FAQ
===================================================== */
#faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.faq-list { margin-top: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 1.2rem 0; display: flex; justify-content: space-between; align-items: center;
  font-size: 0.95rem; font-weight: 500; color: var(--navy); text-align: left;
  font-family: 'DM Sans', sans-serif;
}
.faq-icon {
  width: 22px; height: 22px; border: 1.5px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: transform .2s, border-color .2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); border-color: var(--blue); }
.faq-a {
  font-size: 0.88rem; color: var(--muted); line-height: 1.8;
  padding: 0 0 1.2rem; display: none; font-weight: 300;
}
.faq-item.open .faq-a { display: block; }
.faq-cta-box {
  background: var(--sky); border-radius: 14px; padding: 2.5rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.faq-cta-box h3 { font-family: 'DM Serif Display', serif; font-size: 1.5rem; color: var(--navy); }
.faq-cta-box p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; font-weight: 300; }

/* =====================================================
   CONTACT
===================================================== */
#contact { background: var(--navy); }
#contact .section-label { color: rgba(255,255,255,0.45); }
#contact .section-title { color: var(--white); }
#contact .section-sub { color: rgba(255,255,255,0.55); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 5rem; margin-top: 3.5rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-block { display: flex; align-items: flex-start; gap: 14px; }
.contact-block-icon {
  width: 42px; height: 42px; background: rgba(255,255,255,0.08);
  border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-block h4 {
  font-size: 0.8rem; font-weight: 500; color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px;
}
.contact-block p, .contact-block a {
  font-size: 0.93rem; color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 300;
}
.contact-block a:hover { color: var(--white); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 0.78rem; font-weight: 500; color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px; padding: 12px 14px; color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; outline: none;
  transition: border-color .2s; font-weight: 300;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: rgba(255,255,255,0.4); }
.form-field select option { background: var(--navy-mid); }
.form-field textarea { resize: vertical; min-height: 110px; }
.btn-submit {
  background: var(--accent); color: var(--navy);
  padding: 14px 28px; border-radius: 8px; border: none;
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 500;
  cursor: pointer; transition: .2s; align-self: flex-start;
}
.btn-submit:hover { background: #f5b833; transform: translateY(-1px); }
.form-notice {
  font-size: 0.78rem; color: rgba(255,255,255,0.35); line-height: 1.6;
}

/* =====================================================
   FOOTER
===================================================== */
.site-footer {
  background: #080f1a; padding: 2.5rem 5vw;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo { font-family: 'DM Serif Display', serif; color: rgba(255,255,255,0.6); font-size: 1.1rem; }
.footer-logo span { color: rgba(255,255,255,0.3); }
.site-footer p { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.78rem; color: rgba(255,255,255,0.35); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: rgba(255,255,255,0.7); }

/* =====================================================
   ANIMATIONS
===================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content { animation: fadeUp .7s ease both; }
.hero-visual   { animation: fadeUp .7s .15s ease both; }

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 900px) {
  .hero-section { grid-template-columns: 1fr; padding: 120px 5vw 60px; }
  .hero-visual  { display: none; }
  .steps { grid-template-columns: repeat(2,1fr); gap: 2rem; }
  .steps::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .trust-bar { gap: 1.5rem; }
  .site-nav .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* Mobile nav drawer */
.mobile-nav {
  display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 99; flex-direction: column;
  padding: 2rem 5vw; gap: 1.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  text-decoration: none; color: var(--navy); font-size: 1.2rem;
  font-weight: 400; padding: 0.5rem 0; border-bottom: 1px solid var(--border);
}
