/* =====================================================
   VARIABLES & RESET
   ===================================================== */

:root {
    --primary-color: #3fc1c9;
    --dark-color: #364f6b;
    --light-bg: #f8fafb;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --border-light: #e5e7eb;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

/* =====================================================
   CONTAINER & LAYOUT
   ===================================================== */

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

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 700;
    font-size: 1.25rem;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 8px;
}

.logo-link:hover {
    color: var(--primary-color);
    transform: scale(1.05);
}

.logo {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 0.4rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.cta-nav {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
}

.cta-nav:hover {
    background-color: var(--dark-color);
    color: var(--white);
}

.cta-nav::after {
    display: none;
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.hero {
    margin-top: 80px;
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(63, 193, 201, 0.05) 0%, rgba(54, 79, 107, 0.05) 100%);
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

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

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 700;
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--dark-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

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

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

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-accent {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 2.5s ease-in-out infinite;
}

.circle-accent::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background-image: url('logo-alone.svg');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* =====================================================
   SECTION STYLES
   ===================================================== */

section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */

.about {
    background-color: var(--light-bg);
}

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

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about-highlights {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.highlight-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.highlight-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 0.5rem;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 1;
    background: var(--white);
    border-radius: 20px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    display: block;
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* =====================================================
   EXPERTISE SECTION
   ===================================================== */

.expertise {
    background-color: var(--light-bg);
}

.expertise-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.expertise-column h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.expertise-list {
    list-style: none;
}

.expertise-list li {
    color: var(--text-light);
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    font-weight: 500;
}

.expertise-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.method-icon {
    font-size: 1.5rem;
}

.contact-method a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-method a:hover {
    color: var(--primary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(63, 193, 201, 0.1);
}

.contact-form .btn-primary {
    width: 100%;
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

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

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

/* Tablets (768px and below) */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 1rem 0;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-menu.active {
        max-height: 500px;
    }

    .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid var(--border-light);
        font-size: 0.95rem;
    }

    .nav-link::after {
        display: none;
    }

    .cta-nav {
        margin: 0.5rem 1rem;
        width: calc(100% - 2rem);
        text-align: center;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero {
        margin-top: 80px;
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-visual {
        height: 300px;
        order: -1;
    }

    .circle-accent {
        width: 200px;
        height: 200px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }

    .profile-image {
        max-width: 250px;
    }

    .about-highlights {
        justify-content: space-around;
        gap: 1rem;
    }

    .highlight-number {
        font-size: 2rem;
    }

    .highlight-label {
        font-size: 0.85rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .expertise-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        gap: 1rem;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Petits écrans et mobiles (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .header {
        padding: 0.75rem 0;
    }

    .navbar {
        position: relative;
    }

    .logo-link {
        gap: 0.5rem;
        font-size: 1rem;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .hero {
        margin-top: 70px;
        padding: 40px 0;
        min-height: auto;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        gap: 0.75rem;
    }

    .btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-visual {
        height: 250px;
        margin-bottom: 1rem;
    }

    .circle-accent {
        width: 150px;
        height: 150px;
    }

    .circle-accent::before {
        width: 170px;
        height: 170px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .about-text p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .profile-image {
        max-width: 200px;
        border-radius: 15px;
    }

    .about-highlights {
        flex-direction: column;
        gap: 1.5rem;
    }

    .highlight-number {
        font-size: 1.75rem;
    }

    .highlight-label {
        font-size: 0.8rem;
    }

    .service-card {
        padding: 1.25rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .expertise-column h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .expertise-list li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
        padding-left: 1.5rem;
    }

    .contact-info p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .contact-methods {
        gap: 1rem;
    }

    .contact-method {
        flex-direction: row;
        align-items: center;
    }

    .method-icon {
        font-size: 1.3rem;
        flex-shrink: 0;
    }

    .contact-method a {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.85rem;
        font-size: 1rem;
        border-radius: 6px;
    }

    .contact-form .btn-primary {
        padding: 0.85rem 1.5rem;
    }

    section {
        padding: 40px 0;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .footer-section ul li {
        margin-bottom: 0.5rem;
    }
}

/* Très petits écrans (moins de 360px) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
}
