/* 
* Cabinet Comptable Montréal - Styles généraux
* Palette de couleurs:
* - Fond principal: #F2F0E6 (sable)
* - Accents: #F76C5E (saumon), #007F8A (vert-bleu), #FCD581 (doré)
* - Texte: #1C1C1C (antracite)
*/

/* ---------- Reset et base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1C1C1C;
    background-color: #F2F0E6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #007F8A;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover, a:focus {
    color: #F76C5E;
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #F76C5E;
}

h3 {
    font-size: 1.5rem;
    margin-top: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

/* ---------- Utilitaires ---------- */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* ---------- Boutons ---------- */
.cta-button, 
.submit-button, 
.pricing-button,
.return-home {
    display: inline-block;
    background-color: #007F8A;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    border: 2px solid #007F8A;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.cta-button:hover, 
.submit-button:hover, 
.pricing-button:hover,
.return-home:hover {
    background-color: transparent;
    color: #007F8A;
    text-decoration: none;
}

.cookie-button {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.cookie-button.accept {
    background-color: #007F8A;
    color: white;
}

.cookie-button.reject {
    background-color: #F2F0E6;
    color: #1C1C1C;
    border: 1px solid #1C1C1C;
}

.cookie-button:hover {
    opacity: 0.9;
}

/* ---------- Header & Navigation ---------- */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo-img {
    height: 60px;
    width: auto;
}

.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: #1C1C1C;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: #1C1C1C;
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #F76C5E;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 80%;
}

.nav-link.highlight {
    background-color: #F76C5E;
    color: white;
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
}

.nav-link.highlight:hover {
    background-color: #e15c4d;
    text-decoration: none;
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.cookie-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin-bottom: 0.5rem;
    margin-right: 1rem;
    flex: 1;
}

/* ---------- Hero Section ---------- */
.hero-section {
    background-color: #F2F0E6;
    background-image: linear-gradient(45deg, rgba(242, 240, 230, 0.9), rgba(242, 240, 230, 0.8)), url('../img/a7OJGV.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 7rem 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 2rem auto;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-content h1 {
    color: #1C1C1C;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ---------- Approach Section ---------- */
.approach-section {
    background-color: white;
    text-align: center;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-card {
    background-color: #F2F0E6;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.advantage-icon img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
}

/* ---------- Services Section ---------- */
.services-section {
    background-color: #F2F0E6;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    border: 3px solid #F76C5E;
}

/* ---------- Pricing Section ---------- */
.pricing-section {
    background-color: white;
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background-color: #F2F0E6;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    background-color: #007F8A;
    color: white;
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured h3 {
    color: white;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured:hover {
    transform: translateY(-15px);
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.pricing-card ul {
    text-align: left;
    margin-bottom: 2rem;
    list-style-type: none;
    padding: 0;
    flex-grow: 1;
}

.pricing-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #F76C5E;
}

.pricing-card.featured li::before {
    color: #FCD581;
}

.pricing-button {
    margin-top: auto;
    background-color: #F76C5E;
    border-color: #F76C5E;
}

.pricing-button:hover {
    color: #F76C5E;
}

.pricing-card.featured .pricing-button {
    background-color: #FCD581;
    border-color: #FCD581;
    color: #1C1C1C;
}

.pricing-card.featured .pricing-button:hover {
    background-color: transparent;
    color: #FCD581;
}

/* ---------- Testimonials Section ---------- */
.testimonials-section {
    background-color: #F2F0E6;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.quote {
    position: relative;
    font-style: italic;
    margin-bottom: 2rem;
    padding-top: 2rem;
}

.quote::before {
    content: '"';
    font-size: 4rem;
    color: #F76C5E;
    opacity: 0.2;
    position: absolute;
    top: -1rem;
    left: -1rem;
}

.client {
    font-weight: 600;
    color: #007F8A;
}

/* ---------- FAQ Section ---------- */
.faq-section {
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-toggle {
    display: none;
}

.faq-question {
    display: block;
    padding: 1.2rem;
    background-color: #F2F0E6;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-toggle:checked + .faq-question {
    background-color: #007F8A;
    color: white;
}

.faq-toggle:checked + .faq-question::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background-color: white;
    transition: max-height 0.5s ease;
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 1.2rem;
    margin: 0;
}

/* ---------- Contact Section ---------- */
.contact-section {
    background-color: #F2F0E6;
}

.contact-container {
    max-width: 600px;
    margin: 3rem auto 0;
}

.contact-form {
    background-color: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007F8A;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 0.5rem;
    margin-top: 0.3rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.submit-button {
    width: 100%;
    font-size: 1.1rem;
    padding: 1rem;
}

/* ---------- Info Section ---------- */
.info-section {
    background-color: white;
    padding-bottom: 0;
}

.info-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.info-card {
    background-color: #F2F0E6;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.map-container {
    height: 100%;
    min-height: 300px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: #1C1C1C;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    color: #FCD581;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-contact,
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li,
.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-contact a,
.footer-links a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-contact a:hover,
.footer-links a:hover {
    color: #F76C5E;
    text-decoration: none;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* ---------- Legal Pages ---------- */
.legal-section {
    padding: 6rem 0;
}

.legal-content {
    background-color: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.updated {
    color: #777;
    font-style: italic;
    margin-bottom: 2rem;
}

.legal-content h2 {
    margin-top: 2.5rem;
}

.legal-content ul,
.legal-content ol {
    margin-left: 1.5rem;
}

/* ---------- Thank You Page ---------- */
.thank-you-section {
    padding: 6rem 0;
    text-align: center;
}

.thank-you-content {
    background-color: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 700px;
    margin: 0 auto;
}

.thank-you-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 2rem;
    border: 5px solid #F2F0E6;
}

.thank-you-content h1 {
    color: #007F8A;
}

.contact-info {
    margin-top: 2rem;
    font-weight: 600;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 1rem 0 2rem;
}

.return-home {
    display: inline-block;
    margin-top: 1rem;
}

/* ---------- Responsive Styles ---------- */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .info-section .container {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .menu-icon {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }
    
    .menu-toggle:checked ~ .main-nav {
        max-height: 500px;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .nav-link {
        padding: 0.8rem 1.5rem;
    }
    
    .hero-section {
        padding: 5rem 0;
    }
    
    .advantages-grid,
    .services-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
        order: -1;
    }
    
    .legal-content {
        padding: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-content form {
        margin-top: 1rem;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    
    .cookie-button {
        flex: 1;
        margin: 0 0.5rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .thank-you-content {
        padding: 2rem;
    }
} 