/* =========================================
   CŒUR DE TRAVAUX - Styles CSS
   Site vitrine - Coordinateur de travaux
   ========================================= */

/* =========================================
   1. VARIABLES CSS & RESET
   ========================================= */
:root {
    /* Couleurs principales */
    --primary-color: #2c3e50;
    --primary-dark: #1a252f;
    --secondary-color: #62c331;
    --secondary-light: #7ed956;
    --accent-color: #4da828;
    
    /* Couleurs neutres */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #6c757d;
    --text-color: #333333;
    --text-light: #666666;
    
    /* Couleurs services */
    --premium-color: #62c331;
    --simple-color: #3498db;
    --general-color: #9b59b6;
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 5px 30px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 10px 50px rgba(0, 0, 0, 0.15);
    
    /* Border radius */
    --radius-small: 5px;
    --radius-medium: 10px;
    --radius-large: 20px;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   2. UTILITIES
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.75rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.title-decoration {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    margin: 0 auto;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 35px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-small);
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(98, 195, 49, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(98, 195, 49, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* =========================================
   3. NAVIGATION
   ========================================= */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

#header.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-medium);
}

.navbar {
    padding: 20px 0;
    transition: var(--transition-normal);
}

#header.scrolled .navbar {
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 60px;
    width: auto;
    transition: var(--transition-normal);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
    transition: var(--transition-normal);
}

.logo-slogan {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
}

#header.scrolled .logo-name {
    color: var(--primary-color);
}

#header.scrolled .logo-slogan {
    color: var(--text-light);
}

#header.scrolled .logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    position: relative;
    padding: 5px 0;
}

#header.scrolled .nav-link {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.btn-contact {
    background: var(--secondary-color);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: var(--radius-small);
}

.nav-link.btn-contact::after {
    display: none;
}

.nav-link.btn-contact:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    position: relative;
    transition: var(--transition-normal);
}

#header.scrolled .hamburger {
    background: var(--primary-color);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: inherit;
    transition: var(--transition-normal);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    margin-bottom: 25px;
}

.title-line {
    display: block;
    font-family: var(--font-secondary);
    color: var(--white);
}

.title-line:first-child {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 10px;
    opacity: 0.9;
}

.title-line.highlight {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--white) 0%, #ecf0f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white);
    opacity: 0.7;
    transition: var(--transition-normal);
}

.scroll-indicator a:hover {
    opacity: 1;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* =========================================
   5. PRESENTATION SECTION
   ========================================= */
.presentation {
    padding: var(--section-padding);
    background: var(--white);
}

.presentation-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.presentation-image {
    position: relative;
}

.image-frame {
    position: relative;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--medium-gray) 100%);
    border-radius: var(--radius-large);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary-color);
    border-radius: var(--radius-large);
    z-index: -1;
}

.presentation-logo {
    max-width: 250px;
    height: auto;
}

.photo-frame {
    border-radius: 50%;
    overflow: hidden;
    width: 280px;
    height: 280px;
    border: 5px solid var(--secondary-color);
    box-shadow: var(--shadow-strong);
}

.photo-frame::before {
    border-radius: 50%;
}

.presentation-photo {
    width: 115%;
    height: 115%;
    object-fit: cover;
    object-position: center top;
    margin-left: 0;
    margin-top: -5%;
    transition: transform 0.3s ease;
}

.photo-frame:hover .presentation-photo {
    transform: scale(1.08);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    padding: 25px;
    border-radius: 50%;
    text-align: center;
    box-shadow: var(--shadow-strong);
}

.experience-badge .years {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.presentation-text h3 {
    font-family: var(--font-secondary);
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.presentation-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.presentation-text strong {
    color: var(--primary-color);
}

.presentation-text em {
    color: var(--secondary-color);
    font-style: normal;
    font-weight: 500;
}

.values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--medium-gray);
}

.value-item {
    text-align: center;
}

.value-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: block;
}

.value-item span {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
}

/* =========================================
   6. SERVICES SECTION
   ========================================= */
.services {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-large);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-light);
    transition: var(--transition-normal);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
}

.service-premium::before {
    background: linear-gradient(180deg, var(--premium-color), #4da828);
}

.service-simple::before {
    background: linear-gradient(180deg, var(--simple-color), #2ecc71);
}

.service-general::before {
    background: linear-gradient(180deg, var(--general-color), #7d3c98);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    flex-shrink: 0;
}

.service-premium .service-icon {
    background: linear-gradient(135deg, var(--premium-color), #4da828);
}

.service-simple .service-icon {
    background: linear-gradient(135deg, var(--simple-color), #2ecc71);
}

.service-general .service-icon {
    background: linear-gradient(135deg, var(--general-color), #7d3c98);
}

.service-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 15px;
}

.service-badge.premium {
    background: var(--premium-color);
}

.service-badge.simple {
    background: var(--simple-color);
}

.service-badge.general {
    background: var(--general-color);
}

.service-content h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 25px;
    font-style: italic;
}

.service-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

.service-column h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-column h4 i {
    color: var(--secondary-color);
}

.service-column ul {
    padding-left: 0;
}

.service-column li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-light);
    line-height: 1.6;
}

.service-column li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--simple-color);
    font-weight: bold;
}

.service-column .list-not-included li::before {
    content: '✗';
    color: var(--dark-gray);
}

.service-column p {
    color: var(--text-light);
    line-height: 1.7;
}

.service-advantages {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--medium-gray);
}

.service-advantages span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--light-gray);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
}

.service-advantages span i {
    color: var(--simple-color);
}

/* Comparison Table */
.comparison-table {
    background: var(--white);
    border-radius: var(--radius-large);
    padding: 40px;
    box-shadow: var(--shadow-light);
    margin-top: 20px;
}

.comparison-table h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.comparison-table h3 i {
    color: var(--premium-color);
}

.table-container {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--medium-gray);
}

.comparison-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.comparison-table th:first-child {
    border-radius: var(--radius-small) 0 0 0;
}

.comparison-table th:last-child {
    border-radius: 0 var(--radius-small) 0 0;
}

.comparison-table td {
    color: var(--text-color);
    font-style: italic;
}

.comparison-table tbody tr:hover {
    background: var(--light-gray);
}

.comparison-table .badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    font-style: normal;
}

.comparison-table .badge.premium {
    background: var(--premium-color);
}

.comparison-table .badge.simple {
    background: var(--simple-color);
}

.comparison-table .badge.general {
    background: var(--general-color);
}

/* =========================================
   7. CONTACT SECTION
   ========================================= */
.contact {
    padding: var(--section-padding);
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h3 {
    font-family: var(--font-secondary);
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
}

.method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--white);
    flex-shrink: 0;
}

.method-details h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.method-details a,
.method-details p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
}

.method-details a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.social-link {
    width: 45px;
    height: 45px;
    border: 2px solid var(--medium-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--light-gray);
    padding: 40px;
    border-radius: var(--radius-large);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px 20px;
    border: 2px solid var(--medium-gray);
    border-radius: var(--radius-small);
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--text-color);
    background: var(--white);
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(98, 195, 49, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--dark-gray);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 3px;
    cursor: pointer;
    accent-color: var(--secondary-color);
    flex-shrink: 0;
}

.checkbox-group label {
    font-size: 0.85rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1.5;
    flex: 1;
}

.btn-submit {
    margin-top: 10px;
    width: 100%;
}

.form-message {
    padding: 15px;
    border-radius: var(--radius-small);
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* =========================================
   8. FOOTER
   ========================================= */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--secondary-color);
    width: 20px;
}

.footer-bottom {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.footer-legal a:hover {
    color: var(--secondary-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-medium);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

/* =========================================
   9. RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1024px) {
    .presentation-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .presentation-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .service-details {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }
    
    /* Logo responsive */
    .logo-text {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-strong);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--white) !important;
        font-size: 1.1rem;
        padding: 15px 0;
    }
    
    .title-line:first-child {
        font-size: 1.5rem;
    }
    
    .title-line.highlight {
        font-size: 2.25rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    /* Fix: Badge expérience sous le bouton */
    .presentation-visual {
        position: relative;
        margin-bottom: 60px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .experience-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 20px auto 0;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
    }
    
    .values {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .service-icon {
        margin: 0 auto;
    }
    
    .service-advantages {
        justify-content: center;
    }
    
    /* Fix: Tableau comparatif */
    .comparison-table {
        padding: 20px;
        margin-left: -10px;
        margin-right: -10px;
        border-radius: 0;
    }
    
    .comparison-table h3 {
        font-size: 1.2rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
        font-size: 0.8rem;
    }
    
    /* Fix: Section contact - texte qui dépasse */
    .contact-info h3 {
        font-size: 1.4rem;
        word-wrap: break-word;
    }
    
    .contact-info > p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .contact-form-wrapper {
        padding: 20px;
        margin: 0;
        box-sizing: border-box;
    }
    
    .contact-form {
        width: 100%;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        box-sizing: border-box;
    }
    
    .checkbox-group {
        width: 100%;
    }
    
    .checkbox-group label {
        font-size: 0.8rem;
    }
    
    .btn-submit {
        width: 100%;
        padding: 15px 20px;
        font-size: 0.95rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .title-line.highlight {
        font-size: 1.75rem;
    }
    
    .service-card {
        padding: 25px 15px;
    }
    
    .contact-form-wrapper {
        padding: 15px;
        margin: 0;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .checkbox-group label {
        font-size: 0.75rem;
    }
    
    .btn-submit {
        padding: 14px 15px;
        font-size: 0.9rem;
    }
    
    /* Fix badge position mobile */
    .photo-frame {
        width: 200px;
        height: 200px;
    }
    
    .experience-badge {
        padding: 15px;
        position: relative;
        bottom: auto;
        right: auto;
        margin: 15px auto 0;
    }
    
    .experience-badge .years {
        font-size: 1.5rem;
    }
    
    /* Fix: Tableau comparatif petit écran */
    .comparison-table {
        padding: 15px 10px;
    }
    
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .comparison-table table {
        min-width: 100%;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 8px 5px;
        font-size: 0.75rem;
    }
    
    .comparison-table .badge {
        padding: 5px 10px;
        font-size: 0.7rem;
    }
    
    /* Fix: Contact section */
    .contact-info h3 {
        font-size: 1.25rem;
    }
    
    .method-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .method-details a,
    .method-details p {
        font-size: 0.95rem;
    }
}

/* =========================================
   10. 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.6s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Animation delays for staggered effects */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
