/*
Theme Name: Astreelia
Theme URI: https://www.astreelia-avocates.fr
Author: Christelle Poirier & Apolline Sénéchault
Author URI: https://www.astreelia-avocates.fr
Description: Thème WordPress pour le Cabinet d'Avocates Astreelia à Angers. Cabinet au féminin spécialisé en liquidation de succession, régimes matrimoniaux, droit de la famille et droit pénal.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astreelia
Tags: avocat, cabinet juridique, professionnel, angers, feminin, multi-pages
*/

:root {
    --primary: #2c5f6f;
    --primary-dark: #1a3d4a;
    --accent: #d4a373;
    --text-dark: #1a1a1a;
    --text-light: #4a4a4a;
    --bg-light: #faf8f6;
    --bg-white: #ffffff;
    --border-subtle: #e5dfd8;
}

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

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.2;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-subtle);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);      opacity: 1; }
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 0.5px;
}
.logo span { color: var(--accent); }

nav ul { 
    list-style: none; 
    display: flex; 
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.3px;
}
nav a:not(.logo):hover { color: var(--primary); }
nav a:not(.logo)::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0; height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}
nav a:not(.logo):hover::after { width: 100%; }

/* Menu item "Contact" différent */
nav a.nav-contact {
    background: var(--accent);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
}
nav a.nav-contact::after { display: none; }
nav a.nav-contact:hover {
    background: var(--primary);
    color: white;
}

/* Icônes flottantes */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.floating-btn.phone {
    background: var(--primary);
}
.floating-btn.phone:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.floating-btn.calendar {
    background: var(--accent);
}
.floating-btn.calendar:hover {
    background: #b8894d;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .floating-actions {
        bottom: 20px;
        right: 20px;
    }
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Hero */
.hero {
    margin-top: 80px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(44,95,111,0.05) 0%, rgba(212,163,115,0.08) 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(212,163,115,0.12) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translate(0,0) rotate(0deg); }
    50%      { transform: translate(-30px,30px) rotate(5deg); }
}

.hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content { animation: fadeInLeft 1s ease-out; }
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to   { opacity: 1; transform: translateX(0); }
}

.hero-content h1 {
    font-size: 3.2rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}
.hero-content .tagline {
    font-size: 1.4rem;
    color: var(--accent);
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 2rem;
}
.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(44,95,111,0.2);
    letter-spacing: 0.5px;
}
.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(44,95,111,0.3);
}

.hero-image { animation: fadeInRight 1s ease-out; position: relative; }
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to   { opacity: 1; transform: translateX(0); }
}

.hero-visual {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(44,95,111,0.2);
    position: relative;
}
.hero-visual::before {
    content: '';
    position: absolute;
    top: -10px; left: -10px; right: -10px; bottom: -10px;
    background: linear-gradient(135deg, var(--accent), transparent);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}
.hero-visual h3 { color: white; font-size: 2rem; margin-bottom: 1.5rem; }
.hero-visual ul { list-style: none; color: rgba(255,255,255,0.9); font-size: 1.05rem; }
.hero-visual li { margin-bottom: 1rem; padding-left: 1.5rem; position: relative; }
.hero-visual li::before { content: '✦'; position: absolute; left: 0; color: var(--accent); }
.hero-visual a {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.hero-visual a:hover {
    color: white;
    transform: translateX(5px);
}

/* Sections génériques */
section { padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; }
section h2 { font-size: 2.8rem; color: var(--primary-dark); margin-bottom: 1rem; text-align: center; }
.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--accent);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    margin-bottom: 3rem;
}

/* Équipe */
.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.team-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid var(--border-subtle);
    text-align: center;
    transition: all 0.3s ease;
}
.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

.team-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--accent);
    overflow: hidden;
}
.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-photo-placeholder {
    font-size: 4rem;
    color: var(--accent);
}

.team-card h3 { font-size: 1.8rem; color: var(--primary); margin-bottom: 0.5rem; }
.team-card .title {
    color: var(--accent);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-style: italic;
}
.team-card .qualif {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.team-card .domains {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.team-card .btn-link {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.team-card .btn-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Méthode */
.method { background: linear-gradient(135deg, rgba(44,95,111,0.03) 0%, rgba(212,163,115,0.05) 100%); }
.method-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 2.5rem; margin-top: 3rem; }

.step { text-align: center; position: relative; animation: fadeInUp 0.8s ease-out backwards; }
.step:nth-child(1) { animation-delay: 0.1s; }
.step:nth-child(2) { animation-delay: 0.2s; }
.step:nth-child(3) { animation-delay: 0.3s; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.step-number {
    width: 70px; height: 70px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 20px rgba(44,95,111,0.2);
}
.step h3 { font-size: 1.6rem; color: var(--primary); margin-bottom: 1rem; }
.step p { color: var(--text-light); line-height: 1.7; }

.collab-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    font-style: italic;
    color: var(--text-dark);
}

/* Valeurs */
.values { background: var(--primary-dark); color: white; margin: 0; max-width: 100%; }
.values h2 { color: white; }
.values .section-subtitle { color: var(--accent); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 2rem; margin-top: 3rem; }

.value-item {
    text-align: center; padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}
.value-item:hover { background: rgba(255,255,255,0.08); transform: translateY(-5px); }
.value-icon { font-size: 3rem; margin-bottom: 1rem; }
.value-item h3 { color: var(--accent); font-size: 1.6rem; margin-bottom: 1rem; }
.value-item p { color: rgba(255,255,255,0.85); line-height: 1.7; }

/* Contact / Maps */
.contact-section { background: var(--bg-light); }
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid var(--border-subtle);
}
.contact-info h3 { font-size: 2rem; color: var(--primary); margin-bottom: 2rem; }

.info-item { margin-bottom: 2rem; }
.info-item strong {
    display: block;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1.05rem;
}
.info-item p, .info-item a {
    color: var(--text-light);
    line-height: 1.7;
    text-decoration: none;
}
.info-item a:hover { color: var(--primary); }

.map-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid var(--border-subtle);
    height: 500px;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
footer { background: var(--primary-dark); color: white; padding: 3rem 2rem 2rem; text-align: center; }
.footer-content { max-width: 1200px; margin: 0 auto; }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.footer-logo span { color: var(--accent); }
.footer-tagline { color: rgba(255,255,255,0.7); font-style: italic; margin-bottom: 2rem; font-family: 'Cormorant Garamond', serif; }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-bottom p { margin-bottom: 0.4rem; }

/* Pages internes */
.page-header {
    margin-top: 80px;
    padding: 4rem 2rem 3rem;
    background: linear-gradient(135deg, rgba(44,95,111,0.05) 0%, rgba(212,163,115,0.08) 100%);
    text-align: center;
}
.page-header h1 {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}
.page-header p {
    font-size: 1.2rem;
    color: var(--accent);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
}

.page-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: white;
}
.page-content h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin: 2.5rem 0 1.5rem;
}
.page-content h3 {
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin: 2rem 0 1rem;
}
.page-content p {
    color: var(--text-light);
    margin-bottom: 1.2rem;
    line-height: 1.8;
}
.page-content ul {
    margin: 1rem 0 1.5rem 2rem;
    line-height: 1.8;
    color: var(--text-light);
}
.page-content strong {
    color: var(--primary);
}

.team-full-bio {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid var(--accent);
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: #0077b5;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}
.linkedin-link:hover {
    background: #005885;
    transform: translateY(-2px);
}

.domain-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.domain-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}
.domain-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.1);
}
.domain-item h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}
.domain-item p {
    color: var(--text-light);
    line-height: 1.7;
}
.domain-item ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}
.domain-item li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 968px) {
    nav ul { gap: 1.2rem; font-size: 0.9rem; }
    .hero .container { grid-template-columns: 1fr; gap: 3rem; }
    .hero-content h1 { font-size: 2.5rem; }
    .team-grid { grid-template-columns: 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .method-steps { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
    nav .container { flex-direction: column; gap: 1rem; padding: 1rem; }
    nav ul { gap: 0.8rem; flex-wrap: wrap; justify-content: center; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content .tagline { font-size: 1.2rem; }
    section h2 { font-size: 2.2rem; }
    .page-header h1 { font-size: 2.2rem; }
}

html { scroll-behavior: smooth; }
