/* 
 * Domain.com - Styles généraux
 * Palette de couleurs: 
 * - Primaire: #E0115F (fuchsia)
 * - Secondaire: #C7EA46 (lime)
 * - Sombre: #1F1F1F (graphite foncé)
 * - Clair: #FDF5E6 (crème)
 */

/* Réinitialisation et base */
:root {
    --primary: #E0115F;
    --secondary: #C7EA46;
    --dark: #1F1F1F;
    --light: #FDF5E6;
    --gray: #f5f5f5;
    --turquoise: rgba(72, 209, 204, 0.1);
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --error: #e74c3c;
    --success: #2ecc71;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.merci{
    background-color: var(--light);
    padding: 180px 0 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    color: var(--dark);
    font-family: 'Montserrat', sans-serif;
}
.merci-content{
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: white;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

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

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

a:hover {
    color: var(--secondary);
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    text-align: center !important;
    font-size: 2.25rem;
    position: relative;
    margin-bottom: 2rem;
}
.legal-page h1{
    text-align: center;
}

.legal-content h2{
    text-align: left !important;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 90px 0;
}

/* Messages d'alerte */
.alert {
    padding: 15px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-error {
    background-color: rgba(231, 76, 60, 0.1);
    border-left: 4px solid var(--error);
    color: var(--error);
}

.alert-success {
    background-color: rgba(46, 204, 113, 0.1);
    border-left: 4px solid var(--success);
    color: var(--success);
}

.alert ul {
    margin-left: 20px;
}

.alert ul li {
    margin-bottom: 5px;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: #c30e51;
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--dark);
}

.btn-secondary:hover {
    background-color: #b3d43c;
    color: var(--dark);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: var(--shadow);
    padding: 10px 0;
}

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

.logo a {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: lowercase;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
}

.nav-list li {
    margin-left: 30px;
}

.nav-list a {
    color: var(--dark);
    font-weight: 500;
}

.nav-list a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark);
    transition: var(--transition);
}

/* Hero section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, var(--turquoise) 0%, rgba(211, 211, 211, 0.1) 100%);
    text-align: center;
}

.hero h1 {
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* À propos section */
.a-propos {
    background-color: white;
}

.a-propos-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.a-propos-text {
    flex: 1;
}

.a-propos-image {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Avantages section */
.avantages {
    background-color: var(--light);
}

.avantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.avantage-item {
    background-color: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.avantage-icon {
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(224, 17, 95, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.avantage-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--primary);
}

/* Services section */
.services {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--gray);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3, .service-card p {
    padding: 0 20px;
}

.service-card h3 {
    margin-top: 20px;
}

.service-card .btn {
    margin: 20px;
}

/* Processus section */
.processus {
    background-color: var(--light);
    text-align: center;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    width: 22%;
}

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

/* Témoignages section */
.temoignages {
    background-color: white;
    text-align: center;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: var(--light);
    border-radius: var(--radius);
    padding: 30px;
    margin: 20px auto;
    box-shadow: var(--shadow);
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
}

.author-name {
    color: var(--primary);
    margin-bottom: 0;
}

.author-company {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Contact section */
.contact {
    background: linear-gradient(135deg, var(--turquoise) 0%, rgba(211, 211, 211, 0.1) 100%);
    text-align: center;
}

form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    background-color: var(--light);
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(224, 17, 95, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    margin-bottom: 0;
}

/* Footer */
.site-footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3, .footer-links h3, .footer-legal h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-info p, .footer-info address {
    color: #ccc;
    margin-bottom: 10px;
    font-style: normal;
}

.footer-info a {
    color: #ccc;
}

.footer-info a:hover {
    color: var(--secondary);
}

.footer-links ul, .footer-legal ul {
    list-style: none;
}

.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}

.footer-links a, .footer-legal a {
    color: #ccc;
}

.footer-links a:hover, .footer-legal a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #999;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background-color: white;
    padding: 15px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    transition: var(--transition);
    opacity: 0;
}

.cookie-popup.show {
    bottom: 0;
    opacity: 1;
}

.cookie-popup p {
    margin-bottom: 0;
    flex: 1;
}

.cookie-popup .btn {
    margin-left: 20px;
}

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

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

/* Media queries */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    section {
        padding: 60px 0;
    }
    .avantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-icon {
        display: flex;
    }
    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: var(--transition);
    }
    .menu-toggle:checked ~ .nav-list {
        transform: translateY(0);
    }
    .nav-list li {
        margin: 15px 0;
    }
    .a-propos-content {
        flex-direction: column;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    .process-steps::before {
        display: none;
    }
    .process-step {
        width: 80%;
        margin-bottom: 40px;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.75rem;
    }
    .avantages-grid {
        grid-template-columns: 1fr;
    }
    .hero {
        padding: 150px 0 80px;
    }
    form {
        padding: 20px;
    }
} 