/*
Theme Name: WebbCreation
Theme URI: https://webbcreation-digital-spark.lovable.app
Author: WebbCreation
Author URI: https://webbcreation-digital-spark.lovable.app
Description: Thème WordPress officiel de l'agence digitale WebbCreation (Bingerville, Côte d'Ivoire). Design moderne bleu ciel avec dégradés, conçu pour la conversion. Inclut 5 pages auto-générées : Accueil, Qui sommes-nous, Services, Réalisations, Blog, Contact.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: webbcreation
Tags: business, agency, one-column, two-columns, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

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

:root {
  --background: #fafcff;
  --foreground: #131a2e;
  --surface: #eef4fb;
  --card: #ffffff;
  --muted: #f1f5fa;
  --muted-foreground: #5a6781;
  --border: #e3eaf2;
  --primary: #2b8ee0;
  --primary-dark: #1d6fb8;
  --primary-foreground: #ffffff;
  --primary-glow: #6fb6ec;
  --accent: #cfe5f7;
  --whatsapp: #25d366;
  --gradient-primary: linear-gradient(135deg, #1d6fb8 0%, #4ea5e0 100%);
  --gradient-hero: linear-gradient(135deg, #2b8ee0 0%, #6fb6ec 50%, #b9dcf3 100%);
  --gradient-soft: linear-gradient(180deg, #fafcff 0%, #e8f1f9 100%);
  --gradient-mesh:
    radial-gradient(at 20% 10%, rgba(111,182,236,.45) 0, transparent 50%),
    radial-gradient(at 80% 0%, rgba(43,142,224,.4) 0, transparent 50%),
    radial-gradient(at 80% 90%, rgba(185,220,243,.5) 0, transparent 50%);
  --shadow-card: 0 1px 2px rgba(20,30,60,.04), 0 8px 24px -12px rgba(40,90,180,.18);
  --shadow-glow: 0 20px 60px -20px rgba(40,90,180,.45);
  --radius: 14px;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
h1,h2,h3,h4 { font-family: var(--font-display); letter-spacing: -.02em; line-height: 1.15; font-weight: 700; color: var(--foreground); }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { color: var(--muted-foreground); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bg-gradient-primary { background: var(--gradient-primary); color: #fff; }
.bg-gradient-hero { background: var(--gradient-hero); }
.bg-gradient-soft { background: var(--gradient-soft); }
.bg-mesh { background: var(--gradient-mesh), var(--background); }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: 999px; font-weight: 600;
  border: none; cursor: pointer; transition: transform .2s, box-shadow .2s;
  font-size: .95rem;
}
.btn-primary { background: var(--gradient-primary); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-1px); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--foreground); backdrop-filter: blur(10px); border: 1px solid var(--border); }
.btn-ghost:hover { background: #fff; }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.site-brand { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--foreground); }
.site-brand span { color: var(--primary); }
.main-nav ul { list-style: none; display: flex; gap: 2rem; align-items: center; }
.main-nav a { color: var(--foreground); font-weight: 500; font-size: .95rem; }
.main-nav a:hover, .main-nav .current-menu-item a { color: var(--primary); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--foreground); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 1rem 1.5rem; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 1rem; align-items: flex-start; }
}

/* Hero */
.hero { position: relative; padding: 6rem 0 5rem; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; background: var(--gradient-mesh); z-index: -1;
}
.hero-eyebrow {
  display: inline-block; padding: .35rem 1rem; border-radius: 999px;
  background: rgba(43,142,224,.1); color: var(--primary);
  font-size: .82rem; font-weight: 600; margin-bottom: 1.2rem;
}
.hero h1 { margin-bottom: 1.2rem; }
.hero p.lead { font-size: 1.15rem; max-width: 640px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Cards / grids */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-card);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.card h3 { margin-bottom: .6rem; }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--gradient-primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1rem;
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head .eyebrow { color: var(--primary); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; }
.section-head h2 { margin: .8rem 0 1rem; }

/* CTA band */
.cta-band {
  background: var(--gradient-primary); color: #fff;
  padding: 4rem 0; text-align: center; border-radius: 24px; margin: 4rem 1.5rem;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); margin: 1rem auto 2rem; max-width: 560px; }
.cta-band .btn { background: #fff; color: var(--primary); box-shadow: 0 10px 30px rgba(0,0,0,.15); }

/* Footer */
.site-footer { background: #0f1729; color: #c8d3e7; padding: 4rem 0 2rem; margin-top: 4rem; }
.site-footer h4 { color: #fff; margin-bottom: 1rem; font-size: 1rem; }
.site-footer a { color: #c8d3e7; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 2rem; text-align: center; font-size: .9rem; }

/* Floating WhatsApp */
.whatsapp-fab {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.45);
  transition: transform .2s;
}
.whatsapp-fab:hover { transform: scale(1.08); color: #fff; }
.whatsapp-fab svg { width: 28px; height: 28px; }

/* Forms */
.form-field { margin-bottom: 1.2rem; }
.form-field label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: .4rem; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: .85rem 1rem; border-radius: 12px;
  border: 1px solid var(--border); background: #fff; font-family: inherit; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(43,142,224,.15);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem; margin: 3rem 0; }
.stat { text-align: center; padding: 1.5rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); }
.stat .num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--primary); display: block; }
.stat .label { color: var(--muted-foreground); font-size: .9rem; }

/* Process steps */
.steps { counter-reset: step; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { background: #fff; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--border); position: relative; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 700;
  background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: .5rem;
}

/* Contact two-col */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.5rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card { background: var(--gradient-primary); color: #fff; padding: 2rem; border-radius: var(--radius); }
.info-card h3 { color: #fff; }
.info-card a { color: #fff; opacity: .95; }
.info-card ul { list-style: none; margin-top: 1.2rem; }
.info-card li { margin: .8rem 0; }

/* WP content (the_content) */
.entry-content { line-height: 1.75; }
.entry-content > * + * { margin-top: 1.2rem; }
.entry-content h2 { margin-top: 2rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; color: var(--muted-foreground); }
.entry-content blockquote {
  border-left: 4px solid var(--primary); padding: 1rem 1.5rem;
  background: var(--muted); border-radius: 0 12px 12px 0; font-style: italic;
}

/* Blog cards */
.post-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); transition: transform .25s; }
.post-card:hover { transform: translateY(-4px); }
.post-card .thumb { aspect-ratio: 16/9; background: var(--gradient-hero); }
.post-card .body { padding: 1.5rem; }
.post-card h3 { margin-bottom: .5rem; }
.post-card .meta { font-size: .82rem; color: var(--muted-foreground); margin-bottom: .8rem; }

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
