/*
Theme Name: ADME-AI Studio
Theme URI: https://adme-aistudio.com
Author: ADME-AI Studio
Author URI: https://adme-aistudio.com
Description: Thème premium dark pour ADME-AI Studio — Agence IA & Marketing Digital à Marseille
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: adme
Tags: dark, agency, ai, premium, one-page
*/

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

:root {
  --bg-dark:       #0a0a18;
  --bg-navy:       #0f1a2e;
  --bg-card:       rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --border:        rgba(255,255,255,0.08);
  --border-accent: rgba(108,99,255,0.4);

  --color-text:    #e8e8f0;
  --color-muted:   #9ca3af;
  --color-heading: #f0f0fa;
  --color-white:   #ffffff;

  --accent-purple: #6c63ff;
  --accent-teal:   #00d4aa;
  --accent-lavender: #a78bfa;

  --gradient-btn:  linear-gradient(135deg, #6c63ff, #00d4aa);
  --gradient-hero: linear-gradient(135deg, #0a0a18 0%, #0f1a2e 100%);

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 50px;

  --shadow-btn: 0 4px 20px rgba(108,99,255,0.35);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-lavender); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-teal); }

h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
  line-height: 1.15;
  font-weight: 800;
}

p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.25rem; }

/* =============================================
   LAYOUT
============================================= */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }

/* =============================================
   HEADER / NAV
============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,10,24,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-logo {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-white) !important;
  letter-spacing: -0.02em;
}

.site-logo span { color: var(--accent-teal); }

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  padding: 0;
  margin: 0;
}

.nav-menu a {
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color .2s;
}

.nav-menu a:hover { color: var(--color-white); }

.nav-cta {
  display: inline-block;
  background: var(--gradient-btn);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-btn);
  transition: opacity .2s, transform .2s;
}

.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all .3s;
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: rgba(10,10,24,0.98);
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { display: block; padding: 12px 24px; }
  .nav-cta { display: none; }
}

/* =============================================
   HERO SECTION
============================================= */
.hero {
  background: var(--gradient-hero);
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(108,99,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-tag {
  display: inline-block;
  background: rgba(0,212,170,0.15);
  border: 1px solid rgba(0,212,170,0.35);
  color: var(--accent-teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.hero h1 span {
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 580px;
  margin: 0 auto 16px;
  line-height: 1.7;
}

.hero-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  margin-top: 16px;
}

/* =============================================
   BUTTONS
============================================= */
.btn-primary {
  display: inline-block;
  background: var(--gradient-btn);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-btn);
  transition: opacity .2s, transform .2s;
  text-decoration: none;
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); color: #fff !important; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--accent-lavender) !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(108,99,255,0.4);
  transition: border-color .2s, color .2s, transform .2s;
  text-decoration: none;
}

.btn-outline:hover {
  border-color: var(--accent-purple);
  color: var(--color-white) !important;
  transform: translateY(-2px);
}

/* =============================================
   SECTION TITLES
============================================= */
.section-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--color-heading);
  margin-bottom: 10px;
}

.section-sub {
  color: var(--color-muted);
  font-size: 0.95rem;
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.7;
}

.section-header { text-align: center; }
.section-header .section-sub { margin-left: auto; margin-right: auto; }

/* =============================================
   EXPERTISE SECTION
============================================= */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.expertise-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: background .2s, border-color .2s, transform .2s;
}

.expertise-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(108,99,255,0.3);
  transform: translateY(-3px);
}

.expertise-card .icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.expertise-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 8px;
}

.expertise-card p {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
}

/* =============================================
   VALUES SECTION
============================================= */
.values-section {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.value-item h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.value-item p {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
}

/* =============================================
   SERVICES SECTION
============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all .25s;
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(108,99,255,0.3);
  transform: translateY(-3px);
}

.service-card .icon { font-size: 1.8rem; margin-bottom: 14px; }
.service-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.service-card p { font-size: 0.85rem; color: var(--color-muted); margin: 0 0 10px; line-height: 1.5; }
.service-card .from { font-size: 0.8rem; color: var(--accent-purple); font-weight: 700; }

/* =============================================
   PORTFOLIO
============================================= */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.portfolio-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: rgba(108,99,255,0.1);
}

.portfolio-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, rgba(108,99,255,0.15), rgba(0,212,170,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.portfolio-body { padding: 20px; }

.portfolio-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-teal);
  background: rgba(0,212,170,0.1);
  border: 1px solid rgba(0,212,170,0.25);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.portfolio-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.portfolio-body p { font-size: 0.85rem; color: var(--color-muted); margin-bottom: 14px; }

.portfolio-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-lavender) !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.portfolio-link:hover { color: var(--accent-teal) !important; }

/* =============================================
   TESTIMONIALS
============================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.stars {
  color: #fbbf24;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.testimonial-card blockquote {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.7;
  font-style: italic;
  margin: 0 0 16px;
}

.testimonial-author {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-lavender);
}

/* =============================================
   FAQ
============================================= */
.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--color-heading);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-main);
  text-align: left;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color .2s;
}

.faq-question:hover { color: var(--accent-teal); }

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform .3s, border-color .2s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); border-color: var(--accent-teal); }

.faq-answer {
  display: none;
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.7;
  padding-bottom: 20px;
}

.faq-item.open .faq-answer { display: block; }

/* =============================================
   CTA BLOCK
============================================= */
.cta-block {
  background: linear-gradient(135deg, #0f0a2e, #0a1628);
  border: 1px solid rgba(108,99,255,0.3);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
}

.cta-block h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.cta-block p { color: var(--color-muted); margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* =============================================
   PRICING
============================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  background: linear-gradient(135deg, rgba(108,99,255,0.12), rgba(0,212,170,0.06));
  border-color: rgba(108,99,255,0.4);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-btn);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.plan-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-lavender);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.pricing-card.featured .plan-name { color: var(--accent-teal); }
.pricing-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 6px; }

.price {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1;
  margin: 16px 0 4px;
}

.price small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-muted);
}

.price-note { font-size: 0.8rem; color: #6b7280; margin-bottom: 20px; }
.pricing-divider { border: none; border-top: 1px solid rgba(255,255,255,0.07); margin: 16px 0; }

.feat-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex-grow: 1;
}

.feat-list li {
  font-size: 0.87rem;
  color: #d1d5db;
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.feat-list li::before {
  content: "✓";
  color: var(--accent-teal);
  font-weight: 900;
  flex-shrink: 0;
}

.feat-list li.no::before { content: "×"; color: #4b5563; }
.feat-list li.no { color: #6b7280; }

/* =============================================
   BLOG
============================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}

.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }

.blog-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(108,99,255,0.2), rgba(0,212,170,0.1));
}

.blog-card-body { padding: 20px; }

.blog-meta {
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-bottom: 10px;
}

.blog-card-body h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-body p { font-size: 0.85rem; color: var(--color-muted); margin-bottom: 14px; }

.read-more {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-lavender) !important;
}

/* Single post */
.post-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 24px;
}

.post-content h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 16px; }
.post-content .post-meta { color: var(--color-muted); font-size: 0.85rem; margin-bottom: 32px; }
.post-content h2 { font-size: 1.5rem; margin: 40px 0 16px; }
.post-content h3 { font-size: 1.2rem; margin: 30px 0 12px; }
.post-content p { font-size: 1rem; line-height: 1.8; margin-bottom: 1.2rem; }
.post-content ul, .post-content ol { margin-bottom: 1.2rem; }
.post-content li { margin-bottom: 6px; line-height: 1.7; }
.post-content img { border-radius: var(--radius-md); margin: 24px 0; }
.post-content a { color: var(--accent-teal); text-decoration: underline; }
.post-content blockquote {
  border-left: 3px solid var(--accent-purple);
  padding: 16px 20px;
  background: rgba(108,99,255,0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--color-muted);
}

/* =============================================
   FOOTER
============================================= */
.site-footer {
  background: rgba(0,0,0,0.4);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 12px;
  display: block;
}

.footer-brand .logo span { color: var(--accent-teal); }

.footer-brand p {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: var(--color-muted);
  transition: color .2s;
}

.footer-links a:hover { color: var(--color-white); }

.footer-contact p {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.8rem; color: #4b5563; margin: 0; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* =============================================
   ANIMATIONS
============================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   UTILITIES
============================================= */
.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: rgba(108,99,255,0.4); border-radius: 3px; }
