/*
Theme Name: Apermis Premium
Theme URI: https://dev.apermis.fr
Author: Fouad - Apermis
Author URI: https://apermis.fr
Description: Thème WordPress premium pour Apermis — Alternative à l'auto-école classique à Amiens
Version: 1.0.0
Text Domain: apermis-premium
*/

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #dbeafe;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --text: #1f2937;
    --text-light: #6b7280;
    --text-white: #ffffff;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;
    --success: #10b981;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --container: 1200px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section--alt {
    background: var(--bg-alt);
}

.text-center {
    text-align: center;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-top: 1rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.4;
}

.btn--primary {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

.btn--primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--accent {
    background: var(--accent);
    color: var(--text-white);
    border-color: var(--accent);
}

.btn--accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--white {
    background: var(--text-white);
    color: var(--primary);
    border-color: var(--text-white);
}

.btn--white:hover {
    background: transparent;
    color: var(--text-white);
    border-color: var(--text-white);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--text-white);
    border-color: rgba(255,255,255,0.5);
}

.btn--outline:hover {
    background: var(--text-white);
    color: var(--primary);
    border-color: var(--text-white);
    transform: translateY(-2px);
}

.btn--outline-dark {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn--outline-dark:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn--large {
    padding: 1.1rem 2.5rem;
    font-size: 1.0625rem;
}

.btn--small {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition);
    background: transparent;
}

.site-header.scrolled {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    box-shadow: var(--shadow);
}

.site-header.scrolled .header-logo {
    color: var(--text);
}

.site-header.scrolled .nav-link {
    color: var(--text);
}

.site-header.scrolled .nav-link:hover {
    color: var(--primary);
}

.site-header.scrolled .header-cta .btn--white {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.header-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
}

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

.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: rgba(255,255,255,0.9);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--text-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
}

/* Mobile menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: var(--transition);
}

.site-header.scrolled .mobile-toggle span {
    background: var(--text);
}

@media (max-width: 900px) {
    .mobile-toggle {
        display: flex;
    }
    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-xl);
    }
    .header-nav.open {
        right: 0;
    }
    .header-nav .nav-link {
        color: var(--text);
        font-size: 1.125rem;
    }
    .header-cta {
        display: none;
    }
    .header-nav .header-cta-mobile {
        display: block;
    }
}

@media (min-width: 901px) {
    .header-cta-mobile {
        display: none !important;
    }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('assets/images/hero-desktop-800.webp');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    padding: 8rem 1.5rem 5rem;
}

/* Responsive background images */
@media (max-width: 640px) {
    .hero {
        background-image: url('assets/images/hero-mobile-400.webp');
        background-position: center top;
    }
}
@media (min-width: 641px) and (max-width: 1024px) {
    .hero {
        background-image: url('assets/images/hero-tablet-600.webp');
    }
}
@media (min-width: 1025px) and (-webkit-min-device-pixel-ratio: 2), (min-width: 1025px) and (min-resolution: 192dpi) {
    .hero {
        background-image: url('assets/images/hero-desktop-1600.webp');
    }
}

.hero-overlay {
    display: none;
}

/* Hero overlay — reduced by half for better visibility */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37,99,235,0.35) 0%, rgba(30,58,138,0.38) 50%, rgba(26,35,126,0.4) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: var(--text-white);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-full);
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero h1 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

.hero-scroll-icon {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 12px;
    position: relative;
}

.hero-scroll-icon::after {
    content: '';
    width: 3px;
    height: 8px;
    background: rgba(255,255,255,0.6);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

@keyframes scrollDot {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
    background: var(--bg);
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border);
}

.trust-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.trust-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.trust-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

@media (max-width: 600px) {
    .trust-bar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* ============================================
   OFFERS CARDS
   ============================================ */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.offer-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.offer-card--featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.offer-card--featured:hover {
    transform: scale(1.02) translateY(-8px);
}

.offer-badge {
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--accent);
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.375rem 2.5rem;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.offer-card h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.offer-price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.offer-price-suffix {
    font-size: 1rem;
    color: var(--text-light);
    font-family: var(--font-body);
}

.offer-compare {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.offer-features {
    text-align: left;
    margin-bottom: 2rem;
}

.offer-features li {
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.offer-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .offers-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    .offer-card--featured {
        transform: none;
    }
    .offer-card--featured:hover {
        transform: translateY(-8px);
    }
}

/* ============================================
   STEPS
   ============================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 3rem;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-light), var(--primary), var(--primary-light));
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

.step-card h3 {
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--text-light);
    font-size: 0.9375rem;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .steps-grid::before {
        display: none;
    }
}

/* ============================================
   COMPARATIF
   ============================================ */
.comparatif {
    background: var(--bg-alt);
}

.comparatif-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.comparatif-col {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    border: 1px solid var(--border);
}

.comparatif-col--apermis {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.comparatif-col--apermis::before {
    content: '★ RECOMMANDÉ';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    color: var(--text-white);
    text-align: center;
    padding: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.comparatif-col--apermis {
    padding-top: 3.5rem;
}

.comparatif-col h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.comparatif-col .comp-subtitle {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.comp-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.comp-row:last-child {
    border-bottom: none;
}

.comp-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.comp-value {
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: right;
}

.comp-value--good {
    color: var(--success);
}

.comp-value--bad {
    color: #ef4444;
}

@media (max-width: 768px) {
    .comparatif-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CTA SECTION (blue gradient)
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.cta-section h2 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255,255,255,0.85);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-section .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
}

/* ============================================
   TWO COLUMNS
   ============================================ */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.two-col--reverse {
    direction: rtl;
}

.two-col--reverse > * {
    direction: ltr;
}

.two-col-content h2 {
    margin-bottom: 1.5rem;
}

.two-col-content p {
    color: var(--text-light);
    font-size: 1.0625rem;
    margin-bottom: 1.5rem;
}

.two-col-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-box {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--primary-light), #ede9fe);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 4rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.visual-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.visual-box span {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.feature-list {
    margin: 1.5rem 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0;
    font-size: 1rem;
}

.feature-check {
    width: 24px;
    height: 24px;
    background: rgba(16,185,129,0.1);
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .two-col--reverse {
        direction: ltr;
    }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.9375rem;
}

.testimonial-location {
    font-size: 0.8125rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

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

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-item.open {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    font-family: var(--font-body);
    text-align: left;
    gap: 1rem;
}

.faq-toggle {
    width: 28px;
    height: 28px;
    background: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item.open .faq-toggle {
    background: var(--primary);
    color: var(--text-white);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-top: 1rem;
}

.footer-brand .footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
}

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

.footer-col h4 {
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--text-white);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    font-size: 1.125rem;
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--text-white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem 0;
    font-size: 0.8125rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
}

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

.footer-seo {
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
}

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

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up.stagger-1 { transition-delay: 0.1s; }
.fade-up.stagger-2 { transition-delay: 0.2s; }
.fade-up.stagger-3 { transition-delay: 0.3s; }
.fade-up.stagger-4 { transition-delay: 0.4s; }

/* ============================================
   UTILITIES
   ============================================ */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* WordPress defaults */
.wp-block-image img {
    border-radius: var(--radius);
}

.entry-content {
    max-width: 750px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content ul,
.entry-content ol {
    margin: 1rem 0 1rem 1.5rem;
    list-style: disc;
}

.entry-content ol {
    list-style: decimal;
}

/* ============================================
   CTA FINAL WITH IMAGE
   ============================================ */
.cta-final .cta-final-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta-final .cta-final-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.cta-final .cta-final-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cta-final .cta-final-content h2 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

.cta-final .cta-final-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .cta-final .cta-final-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
