/* 
 * NumériConseil - Style principal
 * Palette de couleurs:
 * - Fond principal: #111C30 (bleu foncé)
 * - Accent: #F9B248 (ambre)
 * - Secondaire: #00C1A2 (turquoise)
 * - Texte principal: #F3F3F3
 * - Texte secondaire: #A9ADC1
 */

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Roboto', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #F3F3F3;
    background-color: #111C30;
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
    color: #F3F3F3;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #00C1A2, #F9B248);
    margin: 1rem auto 0;
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: #A9ADC1;
}

a {
    color: #00C1A2;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #F9B248;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(to right, #00C1A2, #F9B248);
    color: #111C30;
    box-shadow: 0 4px 15px rgba(0, 193, 162, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 193, 162, 0.4);
    color: #111C30;
}

.btn-nav {
    background-color: rgba(0, 193, 162, 0.2);
    color: #00C1A2;
    padding: 0.6rem 1.2rem;
    border: 1px solid #00C1A2;
}

.btn-nav:hover {
    background-color: #00C1A2;
    color: #111C30;
}

.btn-cookie {
    background-color: #F9B248;
    color: #111C30;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Header & Navigation */
.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 10px 0;
    z-index: 1000;
    background-color: rgba(17, 28, 48, 0.95);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(249, 178, 72, 0.1);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
}

.main-nav ul {
    display: flex;
    list-style-type: none;
    gap: 2rem;
}

.main-nav a {
    color: #F3F3F3;
    font-weight: 500;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00C1A2;
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: #00C1A2;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    padding: 15rem 0 15rem;
    
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-section .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.hero-image {
    flex: 0 0 45%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-image img {
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: rgba(7, 13, 25, 0.95);
}

.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.about-text {
    flex: 0 0 55%;
}

.about-image {
    flex: 0 0 40%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.services-section {
    padding: 5rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 193, 162, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(249, 178, 72, 0.1);
    border-radius: 50%;
}

.service-icon svg {
    width: 30px;
    height: 30px;
    stroke: #F9B248;
}

.service-link {
    margin-top: auto;
    padding-top: 1.5rem;
    font-weight: 600;
}

/* Why Us Section */
.why-us-section {
    padding: 5rem 0;
    background-color: rgba(7, 13, 25, 0.95);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-item {
    padding: 2rem;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.advantage-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 20px rgba(0, 193, 162, 0.1);
}

.advantage-number {
    font-size: 3rem;
    font-weight: 800;
    position: absolute;
    top: -15px;
    left: 20px;
    opacity: 0.1;
    color: #F9B248;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 20px rgba(0, 193, 162, 0.1);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content p {
    font-style: italic;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -20px;
    left: -15px;
    color: rgba(249, 178, 72, 0.1);
    font-family: Georgia, serif;
}

.testimonial-author h4 {
    color: #00C1A2;
    margin-bottom: 0.2rem;
}

.testimonial-author p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background-color: rgba(7, 13, 25, 0.95);
}

.contact-container {
    display: flex;
    gap: 3rem;
}

.contact-form {
    flex: 0 0 45%;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-info {
    flex: 0 0 40%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #F3F3F3;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 4px;
    background-color: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #F3F3F3;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #00C1A2;
    box-shadow: 0 0 0 3px rgba(0, 193, 162, 0.2);
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-group.checkbox input {
    width: auto;
    margin-top: 5px;
}

/* Style des erreurs de formulaire */
.form-errors {
    background-color: rgba(255, 87, 87, 0.1);
    border-left: 4px solid #FF5757;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 0 4px 4px 0;
}

.form-errors ul {
    list-style-position: inside;
    color: #FF9E9E;
}

.form-errors p {
    color: #FF9E9E;
    margin-bottom: 0;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

.contact-map {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 250px;
}

/* Blog Section */
.blog-section {
    padding: 5rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.85rem;
    color: #00C1A2;
    margin-bottom: 0.5rem;
}

.blog-link {
    display: inline-block;
    margin-top: auto;
    font-weight: 600;
    padding-top: 1rem;
}

/* Footer */
.site-footer {
    background-color: rgba(7, 13, 25, 0.95);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(249, 178, 72, 0.1);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-info, .footer-contact, .footer-links {
    padding-right: 1rem;
}

.footer-info h3, .footer-contact h3, .footer-links h3 {
    color: #F9B248;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #A9ADC1;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00C1A2;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.legal-links {
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.legal-links a {
    color: #A9ADC1;
    font-size: 0.9rem;
}

.copyright p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -500px;
    left: 0;
    width: 100%;
    background-color: rgba(17, 28, 48, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(249, 178, 72, 0.2);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: bottom 0.5s ease;
}

.cookie-banner.active {
    bottom: 0;
}

.cookie-banner p {
    margin-bottom: 0;
    margin-right: 1rem;
    color: #F3F3F3;
    font-size: 0.95rem;
}

/* Thank You Page Styles */
.thanks-section {
    
    padding: 15rem 0 15rem;
    display: flex;
    align-items: center;
}

.thanks-content {
    text-align: center;
    max-width:600px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.thanks-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background-color: rgba(0, 193, 162, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thanks-icon svg {
    width: 40px;
    height: 40px;
}

.thanks-message {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #F3F3F3;
}

.next-steps {
    margin: 2.5rem 0;
    text-align: left;
}

.next-steps ol {
    margin-left: 1.5rem;
    color: #A9ADC1;
}

.next-steps li {
    margin-bottom: 0.8rem;
}

.redirect-message {
    font-size: 0.9rem;
    margin: 2rem 0;
}

.thanks-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid #00C1A2;
    color: #00C1A2;
}

.btn-secondary:hover {
    background-color: rgba(0, 193, 162, 0.1);
    transform: translateY(-3px);
}

/* Legal Page Styles */
.legal-section {
    padding: 8rem 0 5rem;
}

.legal-content {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.legal-date {
    font-size: 0.9rem;
    color: #A9ADC1;
    margin-bottom: 2rem;
}

.legal-content h2 {
    text-align: left;
    margin: 2.5rem 0 1rem;
}

.legal-content h2::after {
    margin-left: 0;
    margin-right: auto;
    width: 50px;
}

.legal-content h3 {
    margin: 1.5rem 0 0.8rem;
    color: #00C1A2;
}

.legal-content ul, .legal-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: #A9ADC1;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .hero-section .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-form,
    .contact-info {
        width: 100%;
    }
    
    .contact-info {
        margin-top: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .header-wrapper {
        flex-wrap: wrap;
    }
    
    .nav-toggle-label {
        display: block;
        cursor: pointer;
    }
    
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: #F3F3F3;
        height: 2px;
        width: 30px;
        position: relative;
        transition: all 0.3s ease;
    }
    
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        content: '';
        position: absolute;
    }
    
    .nav-toggle-label span::before {
        bottom: 8px;
    }
    
    .nav-toggle-label span::after {
        top: 8px;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span {
        background: transparent;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span::before {
        transform: rotate(45deg);
        bottom: 0;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span::after {
        transform: rotate(-45deg);
        top: 0;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(17, 28, 48, 0.98);
        padding: 1rem 0;
        transform: scale(1, 0);
        transform-origin: top;
        transition: transform 0.3s ease;
        opacity: 0;
    }
    
    .nav-toggle:checked ~ .main-nav {
        transform: scale(1, 1);
        opacity: 1;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav li {
        margin: 1rem 0;
    }
    
    .cookie-banner {
        flex-direction: column;
    }
    
    .cookie-banner p {
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .advantages-grid,
    .services-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 1rem;
    }
} 