/* greg-adam.fr — Styles v2 */
:root {
  --primary: #1a365d;
  --primary-dark: #0f2444;
  --accent: #e67e22;
  --accent-dark: #d35400;
  --bg: #f8f9fa;
  --text: #2d3748;
  --text-light: #718096;
  --white: #ffffff;
  --border: #e2e8f0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* HEADER */
.header {
  background: var(--primary);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: white; }
.logo-icon { font-size: 1.8rem; }
.logo h1 { font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
.logo p { font-size: 0.8rem; opacity: 0.75; }
nav { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
nav a { color: white; text-decoration: none; padding: 0.4rem 0.8rem; opacity: 0.85; border-radius: 6px; font-size: 0.9rem; }
nav a:hover { opacity: 1; background: rgba(255,255,255,0.1); }
nav a.nav-cta {
  background: var(--accent);
  opacity: 1;
  font-weight: 600;
}
nav a.nav-cta:hover { background: var(--accent-dark); }

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #2a4a7f 100%);
  color: white;
  padding: 5rem 0;
  text-align: center;
}
.hero h2 { font-size: 2.6rem; margin-bottom: 1rem; font-weight: 800; line-height: 1.2; }
.hero p { font-size: 1.2rem; opacity: 0.85; margin-bottom: 2.5rem; }

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* TRUST BAR */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.trust-bar .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
}
.trust-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.trust-item strong { font-size: 1.5rem; color: var(--primary); font-weight: 800; }
.trust-item span { font-size: 0.85rem; color: var(--text-light); }

/* SECTIONS */
.section { padding: 4rem 0; }
.section h2 { font-size: 2rem; margin-bottom: 2rem; color: var(--primary); font-weight: 700; }
.section--dark { background: var(--primary); color: white; }
.section--dark h2 { color: white; }

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: white;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-top: 4px solid var(--accent);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.service-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; color: var(--primary); font-weight: 600; }
.service-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; }

/* WHY US */
.why-us { background: #f0f4f8; padding: 4rem 0; }
.why-us h2 { font-size: 2rem; margin-bottom: 2rem; color: var(--primary); font-weight: 700; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.why-list li { font-size: 1rem; display: flex; align-items: flex-start; gap: 0.5rem; }
.why-list strong { color: var(--primary); }

/* PROJECTS */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.project-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}
.project-card:hover { transform: translateY(-4px); }
.project-card img { width: 100%; height: 220px; object-fit: cover; }
.project-card-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.project-card-body { padding: 1.25rem; }
.project-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; color: var(--primary); font-weight: 600; }
.project-card .meta { font-size: 0.82rem; color: var(--text-light); }
.loading { color: var(--text-light); padding: 3rem; text-align: center; font-size: 1rem; }

/* CONTACT */
.contact-intro { opacity: 0.85; margin-bottom: 2.5rem; font-size: 1.1rem; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.55); }
.contact-form select option { background: var(--primary); color: white; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--accent); background: rgba(255,255,255,0.15); }
.contact-form textarea { resize: vertical; }
.form-note { font-size: 0.8rem; opacity: 0.6; text-align: center; }

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-block h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--accent); }
.contact-block p { font-size: 0.95rem; opacity: 0.85; margin-bottom: 0.25rem; }
.contact-block a { color: white; text-decoration: none; }
.contact-block a:hover { text-decoration: underline; }

/* FOOTER */
footer { background: var(--primary-dark); color: white; text-align: center; padding: 1.5rem; }
footer .container { display: flex; flex-direction: column; gap: 0.3rem; }
footer p { font-size: 0.82rem; opacity: 0.65; }
footer a { color: var(--accent); text-decoration: none; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h2 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }
  .trust-bar .container { gap: 1.5rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  nav a:not(.nav-cta) { display: none; }
  .contact-info { order: -1; }
}
