/* Variables */
:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --text-color: #1e293b;
    --light-text: #64748b;
    --background: #ffffff;
    --light-background: #f8fafc;
    --spacing-unit: 1rem;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: var(--spacing-unit);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 600;
}

/* Header */
header {
    background: var(--background);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.logo img {
    height: auto;
    max-height: 60px; /* ajuste selon ton besoin */
    width: auto;
    object-fit: contain;
    display: block;
  }
  
/* Buttons */
.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Hero Section */
#hero {
    padding: 8rem 0 4rem;
    background: var(--light-background);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.baseline {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.75rem;
    letter-spacing: -0.75px;
    position: relative;
    display: inline-block;
    line-height: 1.2;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.baseline::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80%;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 2rem;
}

.hero-model {
    aspect-ratio: 1;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

model-viewer {
    background-color: white;
    --poster-color: transparent;
}

/* Offer Section */
#offre {
    padding: 100px 0;
    background: var(--light-background);
}

.offer-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.offer-description {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    position: relative;
}

.pricing-card.featured::before {
    content: 'RECOMMANDÉ';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 5px 20px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

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

.price-label {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.features {
    list-style: none;
    margin-bottom: 2rem;
}

.features li {
    padding: 0.5rem 0;
    color: var(--light-text);
}

.features li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Formulaire Section */
#formulaire {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.tally-container {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
}

.tally-container iframe {
    border-radius: 10px;
    background: white;
}

@media (max-width: 768px) {
    .form-container {
        padding: 2rem 1rem;
        margin: 0 1rem;
    }
}

/* FAQ Section */
#faq {
    padding: 6rem 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: var(--background);
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 600;
}

/* Footer */
footer {
    background: var(--text-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .steps {
        grid-template-columns: 1fr;
    }

    .hero-model {
        aspect-ratio: 16/9;
    }

    .baseline {
        font-size: 1.75rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

section {
    animation: fadeIn 0.6s ease-out;
}

.ar-launch-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(99,102,241,0.08);
    padding: 0.35rem 0.7rem;
    margin: 0.5rem auto 0 auto;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    width: auto;
    min-width: 90px;
    max-width: 140px;
}
.ar-launch-btn:hover,
.ar-launch-btn:active,
.ar-launch-btn:focus {
    background: var(--secondary-color);
    outline: none;
    transform: translateY(-2px) scale(0.98);
} 