/* Variables CSS */
:root {
    --color-primary: #3A0CA3;      /* Ultramarin */
    --color-accent: #FFB703;       /* Ambre */
    --color-background: #FAF3E0;   /* Sable clair */
    --color-text: #2B2D42;         /* Gris charbon */
    --color-highlight: #A6FF96;    /* Lime */
    --color-white: #FFFFFF;
    --color-light-gray: #F5F5F5;
    --color-gray: #CCCCCC;
    --color-dark-gray: #666666;
    --color-black: #000000;
    
    --font-primary: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --font-secondary: 'Playfair Display', Georgia, serif;
    
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.15);
    
    --transition: all 0.3s ease;
}

/* Réinitialisation globale */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 3px;
    background-color: var(--color-accent);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent);
}

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    display: inline-block;
}

.section-title h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Grille */
.grid {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

.col-4 {
    flex: 0 0 calc(33.333% - 30px);
    margin: 15px;
}

.col-3 {
    flex: 0 0 calc(25% - 30px);
    margin: 15px;
}

.col-2 {
    flex: 0 0 calc(50% - 30px);
    margin: 15px;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 700;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 0.85rem 2rem;
}

.btn-primary:hover {
    background-color: var(--color-accent);
    color: var(--color-text);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--color-accent);
    color: var(--color-text);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
    font-weight: 700;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 0.85rem 2rem;
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* Header */
.main-header {
    background-color: var(--color-white);
    box-shadow: var(--box-shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    flex: 0 0 auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin-left: 1.5rem;
}

.main-nav a {
    font-weight: 600;
}

.mobile-menu-form {
    display: none;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--color-primary);
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/IF0ycG.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: var(--color-white);
    margin-top: 4.5rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* About Section */
.about {
    background-color: var(--color-white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    flex: 1;
}

/* Services Section */
.service-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-background);
    border-radius: 50%;
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* Avantages Section */
.advantages {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.advantages h2, 
.advantages h3 {
    color: var(--color-white);
}

.advantages h2::after {
    background-color: var(--color-highlight);
}

.advantage-card {
    text-align: center;
    padding: 2rem;
    transition: var(--transition);
}

.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

/* Process Section */
.process {
    background-color: var(--color-background);
}

.process-steps {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background-color: var(--color-primary);
    z-index: 1;
}

.process-step {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
    align-items: center;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-content {
    flex: 1;
    padding: 2rem;
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 2;
    margin-left: 3.5rem;
    margin-right: 3.5rem;
}

.process-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background-color: var(--color-white);
    transform: translateY(-50%) rotate(45deg);
    z-index: -1;
}

.process-step:nth-child(odd) .process-content::before {
    right: -10px;
}

.process-step:nth-child(even) .process-content::before {
    left: -10px;
}

.process-circle {
    display: none; /* Cacher complètement les cercles */
}

/* Pricing Section */
.pricing {
    background-color: var(--color-white);
}

.pricing-card {
    background-color: var(--color-background);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.pricing-card.popular {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.05);
    z-index: 2;
    position: relative;
}

.pricing-card.popular h3,
.pricing-card.popular .price {
    color: var(--color-white);
}

.pricing-card.popular:hover {
    transform: translateY(-10px) scale(1.05);
}

.pricing-card.popular .ribbon {
    position: absolute;
    top: 30px;
    right: -15px;
    padding: 0.5rem 2rem;
    background-color: var(--color-accent);
    color: var(--color-text);
    font-weight: bold;
    transform: rotate(45deg);
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.currency {
    font-size: 1.25rem;
    vertical-align: top;
    position: relative;
    top: 0.5rem;
}

.frequency {
    font-size: 1rem;
    color: var(--color-dark-gray);
}

.pricing-card.popular .frequency {
    color: var(--color-light-gray);
}

.features {
    margin: 2rem 0;
    flex-grow: 1;
}

.features ul {
    list-style: none;
    padding: 0;
}

.features li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.features li::before {
    content: '✓';
    color: var(--color-accent);
    position: absolute;
    left: 0;
}

.pricing-card.popular .features li::before {
    color: var(--color-highlight);
}

/* Contact Form */
.contact {
    background-color: var(--color-background);
}

.contact-form {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid var(--color-gray);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-primary);
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(58, 12, 163, 0.2);
}

.radio-group {
    display: flex;
    gap: 1rem;
    margin-top: 0.3rem;
}

.radio-option {
    display: flex;
    align-items: center;
}

.radio-option input {
    width: auto;
    margin-right: 0.3rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 0.3rem;
}

.checkbox-group input {
    width: auto;
    margin-right: 0.3rem;
}

.form-error {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

/* Footer */
.main-footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 2.5rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--color-light-gray);
}

.footer-col a:hover {
    color: var(--color-accent);
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 1rem 0;
    color: var(--color-white);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cookie-content p {
    margin: 0 2rem 0 0;
}

.cookie-content a {
    color: var(--color-accent);
    text-decoration: underline;
}

/* Page de remerciement */
.thank-you {
    text-align: center;
    padding: 5rem 0;
    margin-top: 4.5rem;
}

.thank-you h1 {
    margin-bottom: 1.5rem;
}

.thank-you p {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Pages légales */
.legal-page {
    padding: 5rem 0;
    margin-top: 4.5rem;
}

.legal-content {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

.legal-content h2 {
    margin-top: 2rem;
}

.legal-content h3 {
    margin-top: 1.5rem;
}

.legal-content ul,
.legal-content ol {
    margin-left: 1.5rem;
}

/* Media Queries */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    html {
        font-size: 15px;
    }
    
    .col-4 {
        flex: 0 0 calc(50% - 30px);
    }
    
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .process-steps::before {
        left: 30px;
    }
    
    .process-step,
    .process-step:nth-child(even) {
        flex-direction: row;
    }
    
    .process-circle {
        left: 30px;
    }
    
    .process-content {
        margin-left: 60px;
    }
    
    .process-step .process-content::before,
    .process-step:nth-child(even) .process-content::before {
        left: -10px;
        right: auto;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    html {
        font-size: 14px;
    }
    
    .mobile-menu-form {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 4.5rem;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 0;
        padding: 0.75rem 1.5rem;
    }
    
    .col-4,
    .col-3,
    .col-2 {
        flex: 0 0 calc(100% - 30px);
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-content p {
        margin-right: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero {
        min-height: 70vh;
        padding: 2rem 0;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .legal-content {
        padding: 1.5rem;
    }
} 