/* Importation des polices Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@400;600;700&display=swap');

:root {
    /* Palette de couleurs */
    --color-primary: #004D40;
    /* Bleu Émeraude profond (Identité Cycy Ink) */
    --color-primary-light: #00695C;
    --color-text-main: #37474F;
    --color-text-light: #546E7A;
    --color-bg-light: #FAFAFA;
    --color-white: #FFFFFF;

    /* Touches Instagram (Gradient) */
    --insta-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    --insta-color-accent: #E1306C;
    /* Rose Instagram dominant */

    /* Typographie */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Espacement */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-light);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-light);
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Utilitaires */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

.section {
    padding: var(--spacing-xl) 0;
}

@media (max-width: 768px) {
    .section {
        padding: var(--spacing-md) 0;
    }
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(0, 77, 64, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 77, 64, 0.4);
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-primary);
    font-weight: 700;
}

.btn-white:hover {
    background-color: #f0f0f0;
}

/* Bouton spécial Gradient Instagram */
.btn-insta {
    background: var(--insta-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.4);
}

.btn-insta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.5);
    background: linear-gradient(45deg, #f09433 0%, #dc2743 100%);
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, #00251a 100%);
    color: var(--color-white);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    /* Touche subtile Instagram dans le fond */
    background: radial-gradient(circle, rgba(225, 48, 108, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* --- DOULEURS SECTION --- */
.douleurs {
    background-color: var(--color-white);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.pain-card {
    background: var(--color-bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    /* Bordure avec gradient Instagram */
    position: relative;
    overflow: hidden;
    border-left: 4px solid var(--insta-color-accent);
    transition: transform 0.3s ease;
}

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

.pain-card h4 {
    color: var(--color-primary);
    /* On garde l'identité Cycy pour les titres */
    margin-bottom: 0.5rem;
}

/* --- SOLUTION SECTION --- */
.solution {
    background-color: #FFF5F8;
    /* Très léger fond rosé pour rappeler l'univers Insta */
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    align-items: center;
}

.feature-list {
    display: grid;
    gap: var(--spacing-md);
}

.feature-item {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    /* Gradient Instagram sur les puces */
    background: var(--insta-gradient);
    color: var(--color-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
}

.solution-visual img {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(225, 48, 108, 0.2);
}

/* --- OFFRE FLASH --- */
.offre {
    background: var(--color-text-main);
    color: var(--color-white);
    text-align: center;
}

.offer-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.price {
    font-size: 4rem;
    font-weight: 700;
    /* Gradient text sur le prix */
    background: var(--insta-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    margin: var(--spacing-md) 0;
    font-family: var(--font-heading);
}

.deadline {
    color: #fff;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    display: block;
}

/* --- FAQ --- */
.faq {
    background-color: var(--color-white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #E0E0E0;
}

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

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-primary);
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 1.5rem;
}

/* --- FOOTER --- */
footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-lg) 0;
    text-align: center;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: var(--spacing-md);
}

/* Animations d'apparition (Recopiées) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* Stagger delay */
.pain-card:nth-child(2) {
    transition-delay: 0.1s;
}

.pain-card:nth-child(3) {
    transition-delay: 0.2s;
}

.pain-card:nth-child(4) {
    transition-delay: 0.3s;
}