/*
Theme Name: Infoday One Page
Theme URI: https://infoday.fr
Author: Tips and Tech
Description: Thème WordPress one-page Infoday pour artisan informatique dans l'Ouest Lyonnais.
Version: 1.1
License: GPLv2 or later
Text Domain: infoday
*/

:root {
  --primary: #0f4c81;
  --primary-dark: #0b2746;
  --secondary: #111827;
  --accent: #22c55e;
  --accent-dark: #16a34a;
  --light: #f4f7fb;
  --white: #ffffff;
  --text: #263238;
  --muted: #64748b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, 92%); margin: auto; }
.site-header {
  background: rgba(255,255,255,.96);
  box-shadow: 0 2px 18px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
.logo { font-size: 25px; font-weight: 900; color: var(--primary); letter-spacing: -.4px; }
.logo span { color: var(--accent); }
.menu { list-style: none; display: flex; gap: 22px; padding: 0; margin: 0; align-items: center; }
.menu a { font-weight: 700; color: var(--secondary); font-size: 15px; }
.menu a:hover { color: var(--primary); }
.hero {
  background: linear-gradient(120deg, rgba(11,39,70,.97), rgba(15,76,129,.92)), url('assets/hero-bg.svg');
  color: var(--white);
  padding: 95px 0;
}
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 42px; align-items: center; }
.eyebrow { color: #bbf7d0; font-weight: 800; text-transform: uppercase; letter-spacing: 1.4px; font-size: 13px !important; margin-bottom: 12px !important; }
.hero h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -1.2px; }
.hero p { font-size: 20px; margin-bottom: 28px; opacity: .95; }
.btn { display: inline-block; padding: 14px 22px; border-radius: 10px; font-weight: 800; margin: 6px 10px 6px 0; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--secondary); }
.btn-primary:hover { background: var(--accent-dark); color: var(--white); }
.btn-secondary { border: 2px solid var(--white); color: var(--white); }
.hero-card, .zone-card { background: rgba(255,255,255,.12); padding: 30px; border-radius: 20px; backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.16); }
.hero-card ul { padding-left: 20px; margin-bottom: 0; }
.section { padding: 72px 0; }
.section-light { background: var(--light); }
.section-title { text-align: center; margin-bottom: 42px; }
.section-title h2, .section h2 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 8px; color: var(--secondary); line-height: 1.15; }
.section-title p { color: var(--muted); margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--white); padding: 28px; border-radius: 18px; box-shadow: 0 10px 28px rgba(15,23,42,.08); border: 1px solid rgba(15,23,42,.05); }
.card .icon { font-size: 36px; margin-bottom: 12px; }
.card h3 { color: var(--primary); margin: 0 0 8px; }
.card p { margin-bottom: 0; }
.about, .zone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.badge, .city-list span { background: var(--primary); color: var(--white); padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.trust-box { background: linear-gradient(145deg, var(--white), #f8fafc); }
.city-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.zone-card { background: var(--primary-dark); color: var(--white); }
.zone-card h3 { margin-top: 0; }
.cta { background: linear-gradient(120deg, var(--secondary), var(--primary-dark)); color: var(--white); text-align: center; padding: 62px 0; }
.cta h2 { margin-top: 0; font-size: 34px; }
.reviews .card { min-height: 165px; }
.contact-box { background: var(--white); padding: 30px; border-radius: 18px; box-shadow: 0 10px 28px rgba(15,23,42,.08); border: 1px solid rgba(15,23,42,.05); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
input, textarea { width: 100%; padding: 14px; border: 1px solid #d1d5db; border-radius: 10px; margin-bottom: 12px; font: inherit; background: #fff; }
input:focus, textarea:focus { outline: 2px solid rgba(15,76,129,.18); border-color: var(--primary); }
button { border: none; cursor: pointer; }
.form-success { background: #dcfce7; color: #166534; padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; font-weight: 700; }
.form-error { background: #fee2e2; color: #991b1b; padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; font-weight: 700; }
.form-note { color: var(--muted); font-size: 13px; margin-bottom: 0; }
.hidden-field { position: absolute; left: -9999px; height: 1px; overflow: hidden; }
.phone-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.phone-image { height: 32px; width: auto; user-select: none; -webkit-user-select: none; pointer-events: none; vertical-align: middle; }
.site-footer { background: #0b1220; color: #e5e7eb; padding: 30px 0; text-align: center; font-size: 14px; }
.site-footer p { margin: 4px 0; }
@media (max-width: 900px) {
  .header-inner { flex-direction: column; gap: 12px; }
  .menu { flex-wrap: wrap; justify-content: center; gap: 14px; }
  .hero-grid, .about, .contact-grid, .zone-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .hero { padding: 62px 0; }
  .section { padding: 55px 0; }
}
