:root {
    --bg-primary: #111111;
    --text-primary: #F0F0F0;
    --text-secondary: #BABABA;
    --accent: #CC0B0D;
    --accent-hover: #E31216;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Logo */

.logo-name .logo-title,
.logo-www {
  font-size: 26px;
  font-family: Megrim;
}

.logo-name {
  position: relative;
  width: 12vw;
  height: 30px;
}

.logo-name .logo-title {
  position: absolute;
  top: 0;
  left: 0;
}

.logo-www {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-wB,
.logo-w0,
.logo-wA {
  position: absolute;
  margin-bottom: -25px;
}

.logo-wB {
  transform: rotate(120deg);
  transform-origin: center -1px;
}

.logo-wA {
  transform: rotate(-120deg);
  transform-origin: center -1px;
}

/* Header */

.font-heading {
    font-family: 'Montserrat', sans-serif;
}

.font-footer {
    font-family: 'Lato', sans-serif;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}

/* Grid pattern background */
.grid-bg {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Gradient overlays */
.gradient-radial {
    background: radial-gradient(ellipse at center, rgba(204, 11, 13, 0.08) 0%, transparent 70%);
}

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    border-color: rgba(204, 11, 13, 0.5);
}

/* Button styles */
.btn-primary {
    background-color: var(--accent);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(204, 11, 13, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Form styles */
.form-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 14px 18px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    width: 100%;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    background-color: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Section divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
    background-color: rgba(17, 17, 17, 0.9);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-backdrop {
    opacity: 0;
    pointer-events: none;
    background-color: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: opacity 0.3s ease;
}

.mobile-menu.open + .mobile-menu-backdrop {
    opacity: 1;
    pointer-events: auto;
}

/* FAQ accordion */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-content {
    max-height: 600px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Pricing card highlight */
.pricing-highlight {
    position: relative;
}

.pricing-highlight::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--accent), transparent 50%);
    border-radius: 14px;
    z-index: -1;
}

/* Formulaire */

.alert {
  border: 1px solid var(--accent);
  /* border-left: 3px solid var(--accent); */
  border-radius: 0.25rem;
  padding: 12px 14px;
  margin: 12px 0 18px;
  background: linear-gradient(333deg, rgba(204, 11, 13, 0.15), rgba(204, 11, 13, 0.025));
}

.alert-success {
  border-color: #1db954;
  background: linear-gradient(333deg, rgba(29, 185, 84, 0.15), rgba(29, 185, 84, 0.025));
}

/* Accessibilité / perf */
.alert:focus-visible {
  /* outline: 2px solid var(--accent); */
  outline: none;
  outline-offset: 2px;
}
.alert:focus:not(:focus-visible) {
  outline: none;
}